Drop an update only when its handler's queue is full (closes #229) #230

Merged
clawbot merged 1 commits from issue-229 into next 2026-11-03 18:27:09 +01:00
1 Commits
Author SHA1 Message Date
sneak 49d2f4ede8 Drop an update only when its handler's queue is full (closes #229)
check / check (push) Waiting to run
The streamer dropped a random share of a handler's updates once its
queue was half full. When the feed paused and then sent its backlog
while the routing table's Overview walked every prefix, the prefix
handler lost about 10,000 updates with its queue never full.

The streamer now drops an update only when the queue is full. The
prefix handler's queue holds 100,000 messages, about 100 MiB, so it
can hold such a backlog. The README's Memory and Feed handling
sections give the new sizes and the rule.

Model: opus-5-5
2026-11-03 17:02:20 +00:00