Skip to content

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_day is not a strict cap over 24 hours. With in-memory storage up to twice per_day can go out across a window boundary, and a restart resets the counts. Keep the sum of per_day over the deployments that share a provider's daily quota below half of it.
  • Set per_client well below the budget. It defaults to 20 an hour, so with per_hour: 20 one 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.