aboutsummaryrefslogtreecommitdiff
path: root/src/garage/server.rs
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2024-02-20 15:35:12 +0000
committerAlex <alex@adnab.me>2024-02-20 15:35:12 +0000
commit885405d944f5f54bce12b53cf1d97f1ecd08887e (patch)
tree02b6dda6e03952377c5c35d4ec5f7ef1d68d613f /src/garage/server.rs
parent203bb10035dd3e350d89141f6ed917733c45e0f8 (diff)
parentbcd571ef57662a1dc86ef5bb0c055d3f8bd9e3bc (diff)
downloadgarage-885405d944f5f54bce12b53cf1d97f1ecd08887e.tar.gz
garage-885405d944f5f54bce12b53cf1d97f1ecd08887e.zip
Merge pull request 'system metrics improvements' (#726) from peer-metrics into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/726
Diffstat (limited to 'src/garage/server.rs')
-rw-r--r--src/garage/server.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/garage/server.rs b/src/garage/server.rs
index 51b06b8e..6323f957 100644
--- a/src/garage/server.rs
+++ b/src/garage/server.rs
@@ -162,6 +162,7 @@ pub async fn run_server(config_file: PathBuf, secrets: Secrets) -> Result<(), Er
info!("Netapp exited");
// Drop all references so that stuff can terminate properly
+ garage.system.cleanup();
drop(garage);
// Await for all background tasks to end