Skip to content

Commit

Permalink
SET-530 fix spotless java report
Browse files Browse the repository at this point in the history
  • Loading branch information
john-sobrepena-partior authored and krishnan-narayanan-partior committed Jul 11, 2024
1 parent 6ab3983 commit 50e4acd
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public List<TesseraServer> 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()
Expand Down Expand Up @@ -119,8 +119,11 @@ public List<TesseraServer> 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();
Expand Down

0 comments on commit 50e4acd

Please sign in to comment.