Fix comment

Reviewed By: LukeDefeo

Differential Revision: D48191671

fbshipit-source-id: 6978e831f48ffe4e8a8c6e71b819205cb3868966
This commit is contained in:
Andrey Goncharov
2023-08-09 14:15:33 -07:00
committed by Facebook GitHub Bot
parent 8749145664
commit 3b99e386a2

View File

@@ -240,7 +240,7 @@ export function attachSocketServer(
clearTimeout(disconnectTimeout); clearTimeout(disconnectTimeout);
} }
/** /**
* If, after 15 min, there are no more connected clients, we exit the process. * If, after 30 seconds, there are no more connected clients, we exit the process.
*/ */
disconnectTimeout = setTimeout(() => { disconnectTimeout = setTimeout(() => {
if (numberOfConnectedClients === 0 && isProduction()) { if (numberOfConnectedClients === 0 && isProduction()) {