sonic-net / sonic-platform-daemons

Platform module daemons for SONiC
Other
23 stars 152 forks source link

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

Open inspurSDN opened 3 months ago

inspurSDN commented 3 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 3 months ago

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