fix(ploeg): back off managed accounts the sweep cannot resolve #178
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ryangr0/ploeg-sweep-retry-backoff"
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?
The block and settlement sweeps retried every stuck account on every
tick and logged it without saying which account or why. On the homelab
four unknown accounts from 2026-09-28 and 2026-09-29, whose mint never
produced a gateway key, logged "managed key block retry unresolved"
about 11,500 times a day, and one blocked account logged "managed
settlement unresolved" every 30 seconds.
Each sweep now retries a failing account after a wait that starts at
the sweep interval and doubles up to an hour, and a success clears it.
The block log names the run and the error, and both logs say when the
next attempt is. Account states and holds are unchanged: an account
that needs reconciliation still needs it, it is just reported at a
readable rate.
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com