Wording tweaks for edge cases. (#4351)

Signed-off-by: Matt Nelson <matt.nelson@consensys.net>
Co-authored-by: garyschulte <garyschulte@gmail.com>
pull/4362/head
Matt Nelson 2 years ago committed by GitHub
parent c57dcd99d9
commit 20fc1b7f2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/sync/snapsync/SnapsyncMetricsManager.java

@ -156,7 +156,7 @@ public class SnapsyncMetricsManager {
public void notifySnapSyncCompleted() { public void notifySnapSyncCompleted() {
final Duration duration = Duration.ofMillis(System.currentTimeMillis() - startSyncTime); final Duration duration = Duration.ofMillis(System.currentTimeMillis() - startSyncTime);
LOG.info( LOG.info(
"Finished worldstate snapsync with nodes {} (healed={}) duration {}{}:{},{}. Sync block import still in progress...", "Finished worldstate snapsync with nodes {} (healed={}) duration {}{}:{},{}. Sync block import may still be in progress...",
nbNodesGenerated.addAndGet(nbNodesHealed.get()), nbNodesGenerated.addAndGet(nbNodesHealed.get()),
nbNodesHealed, nbNodesHealed,
duration.toHoursPart() > 0 ? (duration.toHoursPart() + ":") : "", duration.toHoursPart() > 0 ? (duration.toHoursPart() + ":") : "",

Loading…
Cancel
Save