4 ms·
That's exactly what it does, though since it's resuming a monotonic clock the actual code was a bit more complicated... To find out how long it was down, it no
by dormando 7y ago
That's exactly what it does, though since it's resuming a monotonic clock the actual code was a bit more complicated...
To find out how long it was down, it notes system time into the state file on shutdown. On start it checks the current system time and adds the delta to the monotonic timer and resumes. Objects exceeding TTL are removed appropriately.
- toomuchtodo 7y agoI appreciate that you took the time to explain this.