diff --git a/tessera-dist/src/main/java/com/quorum/tessera/launcher/Launcher.java b/tessera-dist/src/main/java/com/quorum/tessera/launcher/Launcher.java index 988d6a52c..0228aca22 100644 --- a/tessera-dist/src/main/java/com/quorum/tessera/launcher/Launcher.java +++ b/tessera-dist/src/main/java/com/quorum/tessera/launcher/Launcher.java @@ -86,7 +86,7 @@ public List launchServer(final Config config) throws Exception { final ServerConfig recoveryP2PServer = config.getP2PServerConfig(); final IntervalPropertyHelper intervalPropertyHelper = - new IntervalPropertyHelper(config.getP2PServerConfig().getProperties()); + new IntervalPropertyHelper(config.getP2PServerConfig().getProperties()); final Object app = ServiceLoader.load(TesseraApp.class).stream() @@ -119,8 +119,11 @@ public List launchServer(final Config config) throws Exception { recoveryServer.start(); LOGGER.debug("Started recovery server"); - final var waitTimeBeforeRecoveryStartsInMillis = intervalPropertyHelper.partyInfoInterval() * 2L; - LOGGER.info("Waiting for nodes to synchronise with peers for {} seconds", waitTimeBeforeRecoveryStartsInMillis / 1000L); + final var waitTimeBeforeRecoveryStartsInMillis = + intervalPropertyHelper.partyInfoInterval() * 2L; + LOGGER.info( + "Waiting for nodes to synchronise with peers for {} seconds", + waitTimeBeforeRecoveryStartsInMillis / 1000L); Thread.sleep(waitTimeBeforeRecoveryStartsInMillis); final int exitCode = Recovery.create().recover();