2 Commits
Author SHA1 Message Date
aksdb 2bcf2d69a1 🐛 Stop stale entries without overwriting a concurrent stop
The auto-stop listed the running entries and later saved the whole stale
row, so a stop pushed by a client in between was overwritten and then
answered as stale. Each candidate is now loaded again inside its own
transaction and only saved while it is still running and not deleted.
The end of the day uses the timezone effective on the day of the entry,
and entries without a real day_key are skipped with a debug message
instead of an error every minute.
2026-12-01 16:49:15 +01:00
aksdb 1edaf75e4b ✨ Seed settings for new users and auto-stop stale entries 2026-11-29 20:24:48 +00:00