bring ping interval back to 1 second

This commit is contained in:
Stephen Birarda 2013-10-17 17:35:24 -07:00
parent b25487cda3
commit a4798acb22

View file

@ -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 = {};