test transaction pooler db connection in k8s workers (#4290)

This commit is contained in:
Shuchang Zheng
2025-12-12 20:02:29 -08:00
committed by GitHub
parent a902fa7a6e
commit 3d54a288ad
2 changed files with 60 additions and 16 deletions

View File

@@ -54,6 +54,7 @@ class Settings(BaseSettings):
LONG_RUNNING_TASK_WARNING_RATIO: float = 0.95
MAX_RETRIES_PER_STEP: int = 5
DEBUG_MODE: bool = False
# Database settings
DATABASE_STRING: str = (
"postgresql+asyncpg://skyvern@localhost/skyvern"
if platform.system() == "Windows"
@@ -62,6 +63,8 @@ class Settings(BaseSettings):
DATABASE_REPLICA_STRING: str | None = None
DATABASE_STATEMENT_TIMEOUT_MS: int = 60000
DISABLE_CONNECTION_POOL: bool = False
DB_DISABLE_PREPARED_STATEMENTS: bool = False
PROMPT_ACTION_HISTORY_WINDOW: int = 1
TASK_RESPONSE_ACTION_SCREENSHOT_COUNT: int = 3