guyinyou commented on PR #8989: URL: https://github.com/apache/rocketmq/pull/8989#issuecomment-2527119829
> `System.currentTimeMillis()` can be affected by changes to the system time, such as those caused by daylight saving time or NTP time server sync. Should we use `System.nanoTime()` instead? Your concern is correct, but the calculation of dispatchBehindMilliseconds needs to be calculated based on the message storage time stored in the commitlog and cannot be converted to nanoTime. -- 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]
