Fix comment
Reviewed By: LukeDefeo Differential Revision: D48191671 fbshipit-source-id: 6978e831f48ffe4e8a8c6e71b819205cb3868966
This commit is contained in:
committed by
Facebook GitHub Bot
parent
8749145664
commit
3b99e386a2
@@ -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()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user