diff --git a/machine/index.js b/machine/index.js index ef8d4bcba66aae126f8c3650261ba555b0fceb8e..fb89e4adb88a679d0503cca690a902c7ae5d7909 100644 --- a/machine/index.js +++ b/machine/index.js @@ -118,7 +118,7 @@ function updateTimeStamp(ackMachineNumber) { function updateStatuses() { Object.keys(connections).forEach(connection => { - if (Date.now() - connections[connection].timestamp >= (2 * 1000)) { + if (Date.now() - connections[connection].timestamp >= (2 * 10000)) { connections[connection].status = "dead" const message = Buffer.from(`dead ${connection}`);