Don't back up sqlite db if it hasn't changed to prevent constant thrashing on inactive controllers.

This commit is contained in:
Adam Ierymenko 2016-06-24 06:53:23 -07:00
parent 90cdef8400
commit 3740b83f63
2 changed files with 11 additions and 1 deletions

View file

@ -121,6 +121,7 @@ private:
Node *_node;
Thread _backupThread;
volatile bool _backupThreadRun;
volatile bool _backupNeeded;
std::string _dbPath;
std::string _circuitTestPath;
std::string _instanceId;