mirror of
https://github.com/bisq-network/bisq.git
synced 2025-03-13 11:09:10 +01:00
Use auto-indexed thread name as prefix for thread name
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
This commit is contained in:
parent
2f36eadbca
commit
fa03f16917
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ public class PriceRequest {
|
|||
String baseUrl = provider.getBaseUrl();
|
||||
SettableFuture<Tuple2<Map<String, Long>, Map<String, MarketPrice>>> resultFuture = SettableFuture.create();
|
||||
ListenableFuture<Tuple2<Map<String, Long>, Map<String, MarketPrice>>> future = executorService.submit(() -> {
|
||||
Thread.currentThread().setName("PriceRequest @ " + baseUrl);
|
||||
Thread.currentThread().setName(Thread.currentThread().getName() + "@" + baseUrl);
|
||||
return provider.getAll();
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue