From 3aa7c3f62ed86ecf1effe9f4961f80ee8b2d03ad Mon Sep 17 00:00:00 2001 From: cbaugus Date: Mon, 13 Apr 2026 14:46:48 -0500 Subject: [PATCH] fix: rename missed pool_new_connection_threshold_ms variable references Co-Authored-By: Claude Opus 4.6 (1M context) --- src/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.rs b/src/config.rs index ae9385d..ff5cca0 100644 --- a/src/config.rs +++ b/src/config.rs @@ -236,7 +236,7 @@ impl Config { let auto_disable_percentiles_on_warning = env_bool("AUTO_DISABLE_PERCENTILES_ON_WARNING", true); - let (pool_max_idle_per_host, pool_idle_timeout_secs, pool_new_connection_threshold_ms) = + let (pool_max_idle_per_host, pool_idle_timeout_secs, pool_metrics_reuse_threshold_ms) = match &yaml_config.config.pool { Some(p) => ( p.max_idle_per_host, @@ -337,7 +337,7 @@ impl Config { let auto_disable_percentiles_on_warning = env_bool("AUTO_DISABLE_PERCENTILES_ON_WARNING", true); - let (pool_max_idle_per_host, pool_idle_timeout_secs, pool_new_connection_threshold_ms) = + let (pool_max_idle_per_host, pool_idle_timeout_secs, pool_metrics_reuse_threshold_ms) = match &yaml_config.config.pool { Some(p) => ( p.max_idle_per_host,