storage manager background tasks

This commit is contained in:
John Smith
2023-04-23 21:40:53 -04:00
parent 31edb8c059
commit 62615ad657
8 changed files with 113 additions and 12 deletions
+2 -2
View File
@@ -211,7 +211,7 @@ impl RoutingTable {
unlocked_inner,
};
this.start_tasks();
this.setup_tasks();
this
}
@@ -262,7 +262,7 @@ impl RoutingTable {
debug!("starting routing table terminate");
// Stop tasks
self.stop_tasks().await;
self.cancel_tasks().await;
// Load bucket entries from table db if possible
debug!("saving routing table entries");