From 88ec5416fe68b420c7f4c26bad0764f834d13b57 Mon Sep 17 00:00:00 2001 From: Matt Date: Tue, 9 Dec 2025 15:41:54 +0100 Subject: [PATCH] chore: Reduce circuit breaker cooldown from 300s to 30s MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 5 minutes was too long for typical orchestrator restarts that take seconds. 30 seconds is more reasonable for quick recovery. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- app/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config.py b/app/config.py index efb788b..c63ab16 100644 --- a/app/config.py +++ b/app/config.py @@ -73,7 +73,7 @@ class Settings(BaseSettings): backoff_base: float = Field(default=1.0, ge=0.1, le=10.0, description="Base backoff time in seconds") backoff_max: float = Field(default=60.0, ge=10.0, le=300.0, description="Max backoff time in seconds") circuit_breaker_threshold: int = Field(default=5, ge=1, le=20, description="Consecutive failures to trip breaker") - circuit_breaker_cooldown: int = Field(default=300, ge=30, le=900, description="Cooldown period in seconds") + circuit_breaker_cooldown: int = Field(default=30, ge=10, le=900, description="Cooldown period in seconds") # Security - File operations allowed_file_root: str = Field(default="/opt/letsbe", description="Root directory for file operations")