Files
routewatch/internal/database
clawbot 955ee6a987
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 at most 10,000 routes
per table, taken in prefix order through the peer's key, each chunk 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:45:38 +00:00
..