Observers need a total-lifetime bound, not only an idle one #88
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Since
d2323cb8a dial the observer table cannot hold waits in the kernel backlog instead of being accepted and closed. observer_idle_ms drops a peer that sends nothing for 10 s, but a peer that trickles bytes without ever completing an attach frame holds a slot indefinitely and the queue behind it is silent. Add an accepted_ms per observer and drop past a total cap. Nothing first-party trickles, so this is hardening, not a repro. Also pin td.srv.observer_idle_ms = 60_000 in the burst test in server_test_attach.zig so the idle drop cannot be what seats the eighth peer.Migrated from git-collab issue
3b6c9a8d933824fe5086e21c3631722ea4ea8dbe.Original author: a73x dev@a73x.sh.