Max session length of 1hr

This commit is contained in:
Radon Rosborough 2021-08-15 18:20:28 -07:00
parent 2ae715ccbd
commit 0784bd2381
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ export class Session {
setup = async () => {
try {
setTimeout(this.teardown, 3600 * 1000); // max session length of 1hr
allSessions.add(this);
const containerArgs = this.privilegedSession();
const containerProc = spawn(containerArgs[0], containerArgs.slice(1));