You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 81e6fc7
Browse filesBrowse the repository at this point in the historyBrowse files
fix(directory): sweep lobbies every 5 minutes to bound alarm writes
Each sweep re-arms the alarm, which Durable Objects bill as one row write, so
a 60 s sweep cost 1,440 writes a day per project with a host connected. Every
5 minutes costs 288. Silent sockets still close after 90 s without a ping, now
within about 6.5 minutes.
Why: services/directory/src/lobby.ts#const SWEEP | the alarm re-arm is the lobby's only steady storage write; pings and presence must never write, and the sweep must not run more often than the write budget allows
0 commit comments