mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-06 13:01:47 -07:00
Don't back up sqlite db if it hasn't changed to prevent constant thrashing on inactive controllers.
This commit is contained in:
parent
90cdef8400
commit
3740b83f63
2 changed files with 11 additions and 1 deletions
|
@ -121,6 +121,7 @@ private:
|
|||
Node *_node;
|
||||
Thread _backupThread;
|
||||
volatile bool _backupThreadRun;
|
||||
volatile bool _backupNeeded;
|
||||
std::string _dbPath;
|
||||
std::string _circuitTestPath;
|
||||
std::string _instanceId;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue