From 30bab10438b7988adb28f4800f28470dc6da50db Mon Sep 17 00:00:00 2001 From: CookiePieWw Date: Fri, 20 Dec 2024 18:34:59 +0800 Subject: [PATCH] fix: spawn a background connection thread --- src/meta-srv/src/bootstrap.rs | 9 ++++++++- src/meta-srv/src/election/postgres.rs | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/meta-srv/src/bootstrap.rs b/src/meta-srv/src/bootstrap.rs index 78c28b6fbf96..5a4cd1284227 100644 --- a/src/meta-srv/src/bootstrap.rs +++ b/src/meta-srv/src/bootstrap.rs @@ -288,8 +288,15 @@ async fn create_postgres_client(opts: &MetasrvOptions) -> Result