Files
routewatch/internal/database
clawbot d64ab03d7c
check / check (push) Canceled after 0s
Keep a peer-down until its route delete succeeds (closes #101)
When the delete of a peer's live routes after its session went down
failed, the down was dropped and the routes stayed. The prefix handler
now keeps such a peer, with the updates it sent after the down, for the
next flush, which retries the delete before it writes them; each
failure is logged. The delete runs in chunks of 10,000 routes taken in
prefix order through the peer's key, each in its own transaction, so
the database lock is released between chunks and a failure undoes at
most one chunk.

Model: opus-5-5
2026-10-19 20:42:40 +00:00
..