Add awareness of online status, and put old OS-dep utils in OSUtils.
This commit is contained in:
parent
0751eaabd8
commit
e34bc961db
5 changed files with 466 additions and 7 deletions
|
@ -280,7 +280,7 @@
|
|||
/**
|
||||
* Timeout for overall peer activity (measured from last receive)
|
||||
*/
|
||||
#define ZT_PEER_ACTIVITY_TIMEOUT ((ZT_PEER_DIRECT_PING_DELAY * 2) + ZT_PING_CHECK_INVERVAL)
|
||||
#define ZT_PEER_ACTIVITY_TIMEOUT (ZT_PEER_DIRECT_PING_DELAY + (ZT_PING_CHECK_INVERVAL * 3))
|
||||
|
||||
/**
|
||||
* Stop relaying via peers that have not responded to direct sends
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue