mirror of
https://github.com/ratspeak/microReticulum
synced 2026-11-27 13:52:14 +00:00
WIP: Improved persistence
This commit is contained in:
1 parent
73795b4286
commit
ae7b324378
7 files changed
+135
-73
No files matched your search
+2
-2
@@ -298,10 +298,10 @@ Recall last heard app_data for a destination hash.
|
||||
std::string time_str;
|
||||
double save_time = OS::time() - save_start;
|
||||
if (save_time < 1) {
|
||||
time_str = std::to_string(OS::round(save_time*1000, 2)) + "ms";
|
||||
time_str = std::to_string((int)(save_time*1000)) + " ms";
|
||||
}
|
||||
else {
|
||||
time_str = std::to_string(OS::round(save_time, 2)) + "s";
|
||||
time_str = std::to_string(OS::round(save_time, 1)) + " s";
|
||||
}
|
||||
|
||||
debug("Saved known destinations to storage in " + time_str);
|
||||
|
||||
Reference in new issue
Block a user