sonic-net / sonic-platform-daemons

Platform module daemons for SONiC
Other
25 stars 159 forks source link

Time set early issue: When time set early, cannot use non-monotonic c… #510

Open inspurSDN opened 4 months ago

inspurSDN commented 4 months ago

-What I did When time set early, cannot use non-monotonic clock. It will make the timer stop.

-How I did it Use monotonic clock to implement thread timer.

-How to verify it Set the time earlier and check if it is correct.

prgeor commented 4 months ago

@inspurSDN can you explain what was the impact for not having this fix? What was the problem to begin with?