Skip to content

Commit

Permalink
increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Milan Pässler committed Mar 1, 2016
1 parent 8818220 commit c9ffe1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hopglass-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ function getNodesJson(stream) {
}

function isOnline(node) {
return Math.abs((node.lastseen ? new Date(node.lastseen) : new Date()) - new Date()) < nodeinfoInterval * 3000
return Math.abs((node.lastseen ? new Date(node.lastseen) : new Date()) - new Date()) < nodeinfoInterval * 5000
}

function getGraphJson(stream) {
Expand Down

0 comments on commit c9ffe1a

Please sign in to comment.