mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-09 04:04:13 +00:00
.
This commit is contained in:
parent
cc4d0199e7
commit
738fa5a5e5
@ -61,6 +61,11 @@
|
||||
*/
|
||||
#define ZT_CLUSTER_MEMBER_MAX_PHYSICAL_ADDRS 8
|
||||
|
||||
/**
|
||||
* How frequently should doPeriodicTasks() be ideally called? (ms)
|
||||
*/
|
||||
#define ZT_CLUSTER_PERIODIC_TASK_DEADLINE 10
|
||||
|
||||
namespace ZeroTier {
|
||||
|
||||
class RuntimeEnvironment;
|
||||
@ -238,7 +243,7 @@ public:
|
||||
void replicateCertificateOfNetworkMembership(const CertificateOfMembership &com);
|
||||
|
||||
/**
|
||||
* This should be called no less frequently than once every 10 seconds.
|
||||
* Call every ~ZT_CLUSTER_PERIODIC_TASK_DEADLINE milliseconds.
|
||||
*/
|
||||
void doPeriodicTasks();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user