From a4798acb223699372cadd5bfc4e65198b1cb8f77 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Thu, 17 Oct 2013 17:35:24 -0700 Subject: [PATCH] bring ping interval back to 1 second --- libraries/shared/src/NodeList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/shared/src/NodeList.cpp b/libraries/shared/src/NodeList.cpp index 0c58db44be..678a1843fc 100644 --- a/libraries/shared/src/NodeList.cpp +++ b/libraries/shared/src/NodeList.cpp @@ -670,7 +670,7 @@ unsigned NodeList::broadcastToNodes(unsigned char* broadcastData, size_t dataByt return n; } -const uint64_t PING_INACTIVE_NODE_INTERVAL_USECS = 0.25 * 1000 * 1000; +const uint64_t PING_INACTIVE_NODE_INTERVAL_USECS = 1 * 1000 * 1000; void NodeList::possiblyPingInactiveNodes() { static timeval lastPing = {};