Files
DocsGPT/application
Alex cb3ca8a36b fix(events): skip replay budget INCR when no snapshot work possible
_allow_replay incremented the per-user counter on every
/api/events GET, including no-op connects from a fresh client
with no cursor against an empty backlog. React StrictMode dev
double-mounts plus a few tabs trivially tripped the default
30-per-60s budget on idle reconnects.

XLEN pre-check: when last_event_id is None and the user stream
is empty, the connect can't do snapshot work — return True
without INCR. Cursor-bearing connects still INCR unconditionally
(probing the cursor's relationship to stream contents would
require a redundant XRANGE).
2026-05-12 17:55:08 +01:00
..
2026-05-12 14:29:45 +01:00
2026-05-12 14:29:45 +01:00
2026-05-12 14:29:45 +01:00
2026-03-25 22:34:25 +00:00
2026-04-27 22:09:33 +01:00
2026-04-18 13:13:57 +01:00
2026-05-12 14:29:45 +01:00
2026-05-12 14:29:45 +01:00
2026-03-17 14:27:48 +00:00
2026-03-25 00:03:42 +00:00
2026-04-25 14:57:37 +01:00
2026-05-05 01:55:23 +01:00
2026-04-12 00:07:24 +01:00
2026-05-12 14:29:45 +01:00
2025-12-24 18:35:57 +02:00
2026-04-28 00:14:43 +01:00
2026-04-28 02:27:02 +01:00
2026-04-26 00:58:29 +01:00
2026-04-27 22:09:33 +01:00
2026-04-21 16:16:11 +01:00