fix(worker): make workspace cleanup layout-aware
This commit is contained in:
@@ -38,3 +38,5 @@ export const releaseUserBox = (username: string) => {
|
||||
boxes.delete(username);
|
||||
}, env.boxIdleMs);
|
||||
};
|
||||
|
||||
export const runningBoxUsernames = (): Set<string> => new Set(boxes.keys());
|
||||
|
||||
Reference in New Issue
Block a user