From 620ab2a9bc09b9fe7820852622cab5343f47e7dd Mon Sep 17 00:00:00 2001 From: mdecimus <11444311+mdecimus@users.noreply.github.com> Date: Wed, 25 Feb 2026 14:07:07 +0100 Subject: [PATCH] PgSql: Use clean recycling method on connection pool --- crates/store/src/backend/postgres/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/store/src/backend/postgres/main.rs b/crates/store/src/backend/postgres/main.rs index c2864ee9..9968cff7 100644 --- a/crates/store/src/backend/postgres/main.rs +++ b/crates/store/src/backend/postgres/main.rs @@ -42,7 +42,7 @@ impl PostgresStore { .unwrap_or_default(); cfg.options = config.value((&prefix, "options")).map(|s| s.to_string()); cfg.manager = Some(ManagerConfig { - recycling_method: RecyclingMethod::Fast, + recycling_method: RecyclingMethod::Clean, }); if let Some(max_conn) = config.property::((&prefix, "pool.max-connections")) { cfg.pool = PoolConfig::new(max_conn).into();