Call clean on all networks periodically, generalize Topology clean cycle to an overall clean cycle.
This commit is contained in:
parent
e4c5ad9f43
commit
7e156b2622
6 changed files with 40 additions and 9 deletions
|
@ -183,9 +183,9 @@ error_no_ZT_ARCH_defined;
|
|||
#define ZT_MAC_FIRST_OCTET 0x32
|
||||
|
||||
/**
|
||||
* How often Topology::clean() is called in ms
|
||||
* How often Topology::clean() and Network::clean() are called in ms
|
||||
*/
|
||||
#define ZT_TOPOLOGY_CLEAN_PERIOD 300000
|
||||
#define ZT_DB_CLEAN_PERIOD 300000
|
||||
|
||||
/**
|
||||
* Delay between WHOIS retries in ms
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue