From 0dd9d1293c9d9fac8bde3f0812eab5f05088e3b8 Mon Sep 17 00:00:00 2001 From: a10zn8 Date: Wed, 16 Aug 2023 17:36:26 +0300 Subject: [PATCH] move head liveness validator log to debug --- .../dshackle/upstream/ethereum/HeadLivenessValidator.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/HeadLivenessValidator.kt b/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/HeadLivenessValidator.kt index 17ec50c7..f8d84084 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/HeadLivenessValidator.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/HeadLivenessValidator.kt @@ -19,7 +19,7 @@ class HeadLivenessValidator( private fun fallback(): Flux { return Flux.defer { - log.info("head liveness check broken with timeout in $upstreamId") + log.debug("head liveness check broken with timeout in $upstreamId") Flux.just(false).concatWith(getFlux()) // emit false and then restart the Flux } } @@ -33,7 +33,7 @@ class HeadLivenessValidator( if (value) { Pair(acc.first + 1, true) } else { - log.info("non consecutive blocks in head for $upstreamId") + log.debug("non consecutive blocks in head for $upstreamId") Pair(0, false) } }.flatMap { (count, value) ->