mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-10-21 17:56:26 -04:00
Added table persist on local client disconnect
This commit is contained in:
parent
81e0989070
commit
921987c999
3 changed files with 7 additions and 1 deletions
|
@ -110,7 +110,9 @@ class Identity:
|
|||
def save_known_destinations():
|
||||
# TODO: Improve the storage method so we don't have to
|
||||
# deserialize and serialize the entire table on every
|
||||
# save, but the only changes.
|
||||
# save, but the only changes. It might be possible to
|
||||
# simply overwrite on exit now that every local client
|
||||
# disconnect triggers a data persist.
|
||||
|
||||
try:
|
||||
if hasattr(Identity, "saving_known_destinations"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue