51 days * 86400 seconds * 1000
=> 4406400000
2^32
=> 4294967296
the coincidence seems unlikely, it's basically ~~5 hours and a half~~ 30 hours of difference if one has a 1-ms counter increment
=> 4406400000
2^32
=> 4294967296
the coincidence seems unlikely, it's basically ~~5 hours and a half~~ 30 hours of difference if one has a 1-ms counter increment
Must be a northwest washington thing.
>>> round((4406400000 - 2**32)/(1000 * 3600), 3)
30.954 (4406400000 - 1.025*2 ^ 32)/1000
so a difference of 1.12 hours with the "51 days" mention.So if you have something that checks the system health every millisecond, and keeps a count instead of a duration, then if it takes a couple microseconds to complete you might get something less than 86 million ticks per day instead of 86.4 million.
You don't base the start of a future task on the end of the prior one, you base it on a fixed clock for these kinds of systems.