[Feature request] auto get really unix time
Closed this issue · 1 comments
Deleted user commented
why we need it ?
ss2022 wiki
Messages with over 30 seconds of time difference MUST be treated as replay
recommend add a background goroutine to get really unix time (or just once after startup) ,then we can use it verify timestamp diff
so we can avoid local machine time errors ?
database64128 commented
recommend add a background goroutine to get really unix time (or just once after startup) ,then we can use it verify timestamp diff
And now you have to detect whether the system just woke up from sleep/hibernation. Too many complications for so little benefit. Seriously, just enable NTP on your system.