Skip to content
Snippets Groups Projects
Commit 68a2a865 authored by arshiam2's avatar arshiam2
Browse files

wip

parent 9d02e4e1
No related branches found
No related tags found
1 merge request!2WIP: Old 4
......@@ -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}`);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment