[rooms] clean up old votes

This commit is contained in:
Devin Zuczek
2026-09-22 19:03:12 -04:00
parent 70fd0896c5
commit 30038afd30
7 changed files with 129 additions and 13 deletions
+2 -1
View File
@@ -45,7 +45,8 @@
"bindings": [{ "name": "RECFLARE_NOTIFICATIONS_HUB", "class_name": "NotificationsHub" }]
},
"migrations": [{ "tag": "v1", "new_sqlite_classes": ["NotificationsHub"] }],
// Presence sweep (owned by match). Every 5 minutes.
// Presence sweep (owned by match) and the stale vote-to-kick ballot sweep (owned by
// rooms) — both `*/5 * * * *`, so one trigger fires both. Every 5 minutes.
"triggers": {
"crons": ["*/5 * * * *"]
},