mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 12:06:55 +02:00
.
This commit is contained in:
parent
cc4d0199e7
commit
738fa5a5e5
1 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue