Skip to content

01a0cd69 - Retry an underfunded ping the same UTC day - #46

Merged
TaprootFreak merged 5 commits into
21gifts:developfrom
TaprootFreakAI:feat/01a0cd69-retry-insufficient-balance
Sep 23, 2026
Merged

TaprootFreak merged 5 commits into
21gifts:developfrom
TaprootFreakAI:feat/01a0cd69-retry-insufficient-balance

Conversation

@TaprootFreakAI

@TaprootFreakAI TaprootFreakAI commented Sep 23, 2026 •

Copy link
Copy Markdown
Collaborator

EN:
A live ping that stops because the wallet is short is retried later the same UTC day.
Midnight still does not pay the roster. Only an address already accepted for that payout is remembered.
The default interval is 15 minutes, plus one pass when the process starts. RETRY_CATCHUP_MS=0 disables it.
A payment switch that is off skips that bucket and does not forget the address.

DE:
Ein Live-Ping, der wegen zu wenig Guthaben stoppt, wird später am selben UTC-Tag erneut versucht.
Mitternacht zahlt die Liste weiterhin nicht. Gespeichert wird nur eine Adresse, die für diese Auszahlung schon angenommen war.
Das Intervall ist standardmässig 15 Minuten, plus ein Durchlauf beim Prozessstart. RETRY_CATCHUP_MS=0 schaltet ihn ab.
Ein ausgeschalteter Zahlschalter überspringt diesen Topf und vergisst die Adresse nicht.

Details

Daily, moderator, and welcome pings are covered. A welcome retry stays on the lifetime welcome log. If the UTC day changes while the catch-up waits for the payout gate, it does not pay.

An address that is on the roster when the catch-up runs is paid at the current roster amount. The stored amount is used when the address is still unlisted, and for a welcome gift.

A live ping that stops for insufficient balance is remembered and
retried later that UTC day. Midnight still does not pay the roster.
The catch-up of a roster address and a moderator ping that stops
for insufficient balance now have tests.
A welcome ping that stops for insufficient balance is queued and
retried like the other buckets, still against the lifetime welcome log.
@TaprootFreakAI
TaprootFreakAI force-pushed the feat/01a0cd69-retry-insufficient-balance branch from 5da99ea to d2cc00e Compare September 23, 2026 14:11
The owed day is checked again after the payout gate opens. A tick
that started yesterday does not pay on the new UTC day.
The retry row stores a USD amount for a welcome gift as well as an
unlisted daily ping. Moderator rows still omit it.
@TaprootFreakAI

Copy link
Copy Markdown
Collaborator Author

EN:
Ready after 4 review passes.
A live ping that stops for insufficient balance is retried later the same UTC day, and only for that address.

DE:
Bereit nach 4 Review-Durchläufen.
Ein Live-Ping, der wegen zu wenig Guthaben stoppt, wird später am selben UTC-Tag nur für diese Adresse erneut versucht.

Details

The first pass asked for tests of a listed daily catch-up and a moderator enqueue. Later passes covered the welcome gift that landed on develop, a catch-up that waits across UTC midnight, and the welcome amount note.

Head 8638eef. GitHub checks test and e2e passed on that commit. One suggestion, to keep a stored amount after the address is added to the roster, was not taken: at catch-up time a listed address is paid at the current roster amount.

@TaprootFreakAI
TaprootFreakAI marked this pull request as ready for review September 23, 2026 15:53
@TaprootFreak
TaprootFreak merged commit a1407af into 21gifts:develop Sep 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants