mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
Log last meta-data in controller, and ease up just a bit on keepalives.
This commit is contained in:
parent
e1c930f1b7
commit
5ebf5077f5
2 changed files with 3 additions and 3 deletions
|
@ -622,8 +622,8 @@ NetworkController::ResultCode EmbeddedNetworkController::doNetworkConfigRequest(
|
||||||
member["recentLog"] = recentLog;
|
member["recentLog"] = recentLog;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update last modified time
|
|
||||||
member["lastModified"] = now;
|
member["lastModified"] = now;
|
||||||
|
member["lastRequestMetaData"] = metaData.data();
|
||||||
|
|
||||||
// If they are not authorized, STOP!
|
// If they are not authorized, STOP!
|
||||||
if (!authorizedBy) {
|
if (!authorizedBy) {
|
||||||
|
|
|
@ -256,12 +256,12 @@
|
||||||
/**
|
/**
|
||||||
* How frequently to send heartbeats over in-use paths
|
* How frequently to send heartbeats over in-use paths
|
||||||
*/
|
*/
|
||||||
#define ZT_PATH_HEARTBEAT_PERIOD 10000
|
#define ZT_PATH_HEARTBEAT_PERIOD 14000
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Paths are considered inactive if they have not received traffic in this long
|
* Paths are considered inactive if they have not received traffic in this long
|
||||||
*/
|
*/
|
||||||
#define ZT_PATH_ALIVE_TIMEOUT 25000
|
#define ZT_PATH_ALIVE_TIMEOUT 45000
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum time between attempts to check dead paths to see if they can be re-awakened
|
* Minimum time between attempts to check dead paths to see if they can be re-awakened
|
||||||
|
|
Loading…
Add table
Reference in a new issue