From 68a2a86594dda5aba300f98b6e672ded10d60f9f Mon Sep 17 00:00:00 2001 From: arshiam2 <arshiam2@illinois.edu> Date: Sun, 7 Oct 2018 20:40:05 -0500 Subject: [PATCH] wip --- machine/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machine/index.js b/machine/index.js index ef8d4bc..fb89e4a 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}`); -- GitLab