From ff684f6a72184e4ffbd8ef7cd7a29d7bce56d76a Mon Sep 17 00:00:00 2001 From: Maxksim Fomenkov Date: Fri, 2 Sep 2022 17:20:49 +0300 Subject: [PATCH] added info log --- .../io/emeraldpay/dshackle/upstream/ethereum/WsConnection.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/WsConnection.kt b/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/WsConnection.kt index 25cd9104..197fd056 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/WsConnection.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/WsConnection.kt @@ -171,6 +171,7 @@ open class WsConnection( private fun connectInternal() { log.info("Connecting to WebSocket: $uri") + log.info("Available processors: ${Runtime.getRuntime().availableProcessors()}") connection?.dispose() connection = HttpClient.create() .resolver(DefaultAddressResolverGroup.INSTANCE)