remove empty instances

This commit is contained in:
Devin Zuczek
2026-08-07 17:24:08 -04:00
parent c2d36009a3
commit df2d2af75b
4 changed files with 170 additions and 34 deletions
+4 -3
View File
@@ -16,9 +16,10 @@
}
],
// Presence sweep. Rows expire on their own TTL (15m) and reads already ignore
// expired ones, so this is housekeeping: it purges them and recomputes the
// fullness of the instances the departed players were in (a crashed player never
// matchmakes out, so nothing else notices they left). Every 5 minutes.
// expired ones, so this is housekeeping: it purges them, deletes the room
// instances left with nobody in them, and recomputes the fullness of the
// instances the departed players were in (a crashed player never matchmakes out,
// so nothing else notices they left). Every 5 minutes.
"triggers": {
"crons": ["*/5 * * * *"]
},