v0.40.1¶
Release Date: 2026-11-29
Fixes a halt of sign-in mail that did not hold when it could not be recorded, and corrects the guidance on choosing the budget.
Fixes¶
- An unrecorded halt stays in force. When the database refused the halt, the instance resumed after 30 seconds with its budget reset, and alerted again each time it ran out. It now stays halted, retries recording the halt, and resumes only when the recorded halt is cleared. A restart before the halt is recorded still forgets it.
- One alert for it. Requests that ran out together while the halt could not be recorded each alerted.
Choosing the budget¶
per_dayis not a strict cap over 24 hours. With in-memory storage up to twiceper_daycan go out across a window boundary, and a restart resets the counts. Keep the sum ofper_dayover the deployments that share a provider's daily quota below half of it.- Set
per_clientwell below the budget. It defaults to 20 an hour, so withper_hour: 20one client address can spend the whole budget, and a halt stays until an operator clears it.
See A budget for the whole deployment.
Upgrading¶
From v0.40.0, no migration. A deployment with mail.sign_in_budget should
review per_client and per_day.