[rooms] clean up old invites/votes

This commit is contained in:
Devin Zuczek
2026-09-22 19:14:36 -04:00
parent 30038afd30
commit 8ef8f9af50
8 changed files with 99 additions and 20 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ export default {
return services[resolved.name].fetch(resolved.request, env, ctx)
},
// `match` (presence sweep) and `rooms` (stale vote-to-kick ballots) each run a
// `match` (presence sweep) and `rooms` (stale ballots, expired invites) each run a
// `*/5 * * * *` cron in the split deployment; this worker's one trigger fires both.
// Each schedules its work on `ctx.waitUntil`, so the runtime waits for both.
scheduled(