mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
increase the ping interval
This commit is contained in:
parent
65e0670eba
commit
b25487cda3
1 changed files with 1 additions and 1 deletions
|
@ -670,7 +670,7 @@ unsigned NodeList::broadcastToNodes(unsigned char* broadcastData, size_t dataByt
|
|||
return n;
|
||||
}
|
||||
|
||||
const uint64_t PING_INACTIVE_NODE_INTERVAL_USECS = 1 * 1000 * 1000;
|
||||
const uint64_t PING_INACTIVE_NODE_INTERVAL_USECS = 0.25 * 1000 * 1000;
|
||||
|
||||
void NodeList::possiblyPingInactiveNodes() {
|
||||
static timeval lastPing = {};
|
||||
|
|
Loading…
Reference in a new issue