From bdebfb42a6e7ff8e9989c145974e9dba9f0bfc35 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Sun, 4 Feb 2024 09:26:25 +0100 Subject: [PATCH] exiting connection pool gracefully --- backend/src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/src/main.rs b/backend/src/main.rs index 13e0d8b46a..1aba22c6d5 100644 --- a/backend/src/main.rs +++ b/backend/src/main.rs @@ -522,6 +522,8 @@ Windmill Community Edition {GIT_VERSION} } else { tracing::info!("Nothing to do, exiting."); } + tracing::info!("Exiting connection pool"); + db.close().await; Ok(()) }