Constant MAX_SLEEP

Source
const MAX_SLEEP: Duration;
Expand description

We never sleep more than this much, in case our system clock jumps.

Note that there’s a tradeoff here: Making this duration shorter helps our accuracy, but makes us wake up more frequently and consume more CPU.