frankgh commented on code in PR #1773:
URL: https://github.com/apache/cassandra/pull/1773#discussion_r939224626
##########
src/java/org/apache/cassandra/service/StorageService.java:
##########
@@ -1855,14 +1855,21 @@ public Collection<InetAddressAndPort>
prepareForBootstrap(long schemaTimeoutMill
}
// check for operator errors...
+ long nanoDelay = MILLISECONDS.toNanos(ringTimeoutMillis);
Review Comment:
no need to recalculate this value in every iteration of the loop. So moved
outside of the for loop
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]