mirror of
https://github.com/torlando-tech/pyxis.git
synced 2026-09-22 20:54:28 +00:00
A stall spanning the 32-bit millis() rollover zero-extends to a value smaller than the pre-wrap start, so the now_ms >= start_ms guard blocked the bail until the counter lapped the ~49.7-day start value. Use 32-bit unsigned subtraction, which measures true elapsed time across the wrap. Regression: a stall starting near the counter max and wrapping bails in bounded ticks.