mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 15:09:24 +02:00
bring ping interval back to 1 second
This commit is contained in:
parent
b25487cda3
commit
a4798acb22
1 changed files with 1 additions and 1 deletions
|
@ -670,7 +670,7 @@ unsigned NodeList::broadcastToNodes(unsigned char* broadcastData, size_t dataByt
|
||||||
return n;
|
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() {
|
void NodeList::possiblyPingInactiveNodes() {
|
||||||
static timeval lastPing = {};
|
static timeval lastPing = {};
|
||||||
|
|
Loading…
Reference in a new issue