maedhroz commented on code in PR #2660:
URL: https://github.com/apache/cassandra/pull/2660#discussion_r1318893226
##########
src/java/org/apache/cassandra/repair/RepairJob.java:
##########
@@ -97,7 +101,7 @@ public RepairJob(RepairSession session, String columnFamily)
public long getNowInSeconds()
{
- long nowInSeconds = FBUtilities.nowInSeconds();
+ long nowInSeconds = ctx.clock().currentTimeMillis() / 1000l;
Review Comment:
nit: Clock has a `nowInSeconds()` method already, right?
Also, my OCD says change `Clock#nowInSeconds()` to use `1000L` instead of
`1000l` ;)
--
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]