Added one minute throttling to NodeDB save to disk (#3648)

* Added one minute throttling to NodeDB

* Derp
This commit is contained in:
Ben Meadors
2024-04-18 14:20:39 -05:00
committed by GitHub
parent 747c713ba9
commit 425a715995
5 changed files with 45 additions and 4 deletions

View File

@@ -160,6 +160,7 @@ class NodeDB
}
private:
uint32_t lastNodeDbSave = 0; // when we last saved our db to flash
/// Find a node in our DB, create an empty NodeInfoLite if missing
meshtastic_NodeInfoLite *getOrCreateMeshNode(NodeNum n);
@@ -229,4 +230,4 @@ extern uint32_t error_address;
ModuleConfig_RangeTestConfig_size + ModuleConfig_SerialConfig_size + ModuleConfig_StoreForwardConfig_size + \
ModuleConfig_TelemetryConfig_size + ModuleConfig_size)
// Please do not remove this comment, it makes trunk and compiler happy at the same time.
// Please do not remove this comment, it makes trunk and compiler happy at the same time.