chore: Reduce circuit breaker cooldown from 300s to 30s
Build and Push Docker Image / build (push) Successful in 2m37s
Details
Build and Push Docker Image / build (push) Successful in 2m37s
Details
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 <noreply@anthropic.com>
This commit is contained in:
parent
2d27775a2c
commit
88ec5416fe
|
|
@ -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_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")
|
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_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
|
# Security - File operations
|
||||||
allowed_file_root: str = Field(default="/opt/letsbe", description="Root directory for file operations")
|
allowed_file_root: str = Field(default="/opt/letsbe", description="Root directory for file operations")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue