fix(main): run the sweep one at a time and batch the settled lookup #183
Inga granskare
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-payment!183
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "fix/sweep-running-guard"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
A sweep tick that starts while the previous one is still running is now skipped. Overlapping ticks doubled the Mollie calls, for example during 429 slowdowns. A failed run still frees the guard.
reconcilelooks up settled payments in two batchedinArrayqueries instead of one query per payment.Tested: new unit tests for the guard. Typecheck, lint and the full suite pass against Postgres.
Closes #122