introduce db timeout (#1222)

This commit is contained in:
Shuchang Zheng
2024-11-19 17:18:25 -08:00
committed by GitHub
parent 9896a70c61
commit e4c1cf65af
2 changed files with 13 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ class Settings(BaseSettings):
MAX_RETRIES_PER_STEP: int = 5
DEBUG_MODE: bool = False
DATABASE_STRING: str = "postgresql+psycopg://skyvern@localhost/skyvern"
DATABASE_STATEMENT_TIMEOUT_MS: int = 60000
PROMPT_ACTION_HISTORY_WINDOW: int = 1
TASK_RESPONSE_ACTION_SCREENSHOT_COUNT: int = 3