Files
ntfy/util
binwiederhier c113e20677 Share daily limits through the usage table, drop the midnight reset and the stats queue
The server builds the usage store on the user database (the shared pool on
Postgres, the auth-file on SQLite) and starts the limiter before serving. A
visitor without a user writes its message count from a tenth of the cap on,
everyone else from the first message; anonymous emails get the daily cap the
replenish interval implies. The account API reports reset_at. The user stats
columns are no longer read or written.

Claude-Session: https://claude.ai/code/session_01DeXuhSjq5Gta5qPJgSceFe
2026-10-30 20:41:36 +00:00
..
2026-08-03 18:34:29 +02:00
2022-09-27 12:37:02 -04:00
2022-03-10 21:55:56 -05:00
2022-10-01 16:31:48 -04:00
2023-01-18 15:50:06 -05:00
2023-02-08 22:57:10 -05:00
2024-03-20 21:33:54 -04:00