Kill server after 30 seconds

Summary: Bring timeout from 15min to 30seconds.

Reviewed By: passy

Differential Revision: D46726959

fbshipit-source-id: cae1fdd4668fc5237ad0f187385f3a63a51c4797
This commit is contained in:
Lorenzo Blasa
2023-06-14 09:59:21 -07:00
committed by Facebook GitHub Bot
parent d403b1f7a2
commit 8f70cf14a4

View File

@@ -246,7 +246,7 @@ export function attachSocketServer(
console.info('Shutdown as no clients are currently connected');
process.exit(0);
}
}, 15 * 60 * 1000);
}, 30 * 1000);
}
connected = false;