You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TimedBuffer currently uses the whole-second timedelta.seconds field to check a millisecond interval. In a direct helper call, a 500 ms buffer still withholds a message at 600 ms.
This is a helper-level limitation, not a demonstrated user-visible console delay: all five current MainLoop callers pass force_flush=True and bypass the timer check. The original issue overstated that impact.
Reproduction at 50321e4: create a TimedBuffer with a 500 ms interval, add one message, set its last output time 600 ms in the past, and consume get(). No message is emitted.
Proposed Solution or Design
Measure elapsed time with a monotonic clock. Withhold at 400 ms and flush at the 500 ms boundary, unaffected by wall-clock adjustments. Keep production callers unchanged.
Activity
carloea2 commentedon Sep 5, 2026
/take
[-]Subsecond console flush intervals are rounded down[/-][+]Honor subsecond intervals in TimedBuffer[/+]