diff --git a/api.go b/api.go index c73d946..14d8306 100644 --- a/api.go +++ b/api.go @@ -573,7 +573,7 @@ func apiConnectionPoolHealth(c fiber.Ctx) error { "connection_failures": connectionFailures, "last_recovery_attempt": stats["last_recovery_attempt"], "cleanup_interval": "30s", - "keepalive_interval": "15s", + "keepalive_interval": poolMgr.keepAliveInterval.String(), "recovery_check_interval": "60s", } diff --git a/backend_health.go b/backend_health.go index 883b68b..02e1d19 100644 --- a/backend_health.go +++ b/backend_health.go @@ -91,7 +91,7 @@ func (bhm *BackendHealthManager) WaitForBackendReady(timeout time.Duration) erro }) } - // Exponential backoff with jitter + // Exponential backoff (1.5x growth, capped at maxDelay), no jitter time.Sleep(currentDelay) currentDelay = time.Duration(float64(currentDelay) * 1.5) if currentDelay > maxDelay {