fix(worker): make workspace cleanup layout-aware

This commit is contained in:
Gabriel Brown
2026-07-10 15:55:11 -04:00
parent 8aa9140191
commit daec4d6dfa
3 changed files with 156 additions and 14 deletions
+2
View File
@@ -38,3 +38,5 @@ export const releaseUserBox = (username: string) => {
boxes.delete(username);
}, env.boxIdleMs);
};
export const runningBoxUsernames = (): Set<string> => new Set(boxes.keys());