From 5c0f482b05de3e0c02a8cee9f85a0c7474f2864f Mon Sep 17 00:00:00 2001 From: Kerem Yilmaz Date: Tue, 2 Apr 2024 12:48:49 -0700 Subject: [PATCH] Decrease max retries per step 5->2 (#146) --- skyvern/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skyvern/config.py b/skyvern/config.py index 9c7138b4..4a8615ec 100644 --- a/skyvern/config.py +++ b/skyvern/config.py @@ -19,7 +19,7 @@ class Settings(BaseSettings): # Ratio should be between 0 and 1. # If the task has been running for more steps than this ratio of the max steps per run, then we'll log a warning. LONG_RUNNING_TASK_WARNING_RATIO: float = 0.95 - MAX_RETRIES_PER_STEP: int = 5 + MAX_RETRIES_PER_STEP: int = 2 DEBUG_MODE: bool = False DATABASE_STRING: str = "postgresql+psycopg://skyvern@localhost/skyvern" PROMPT_ACTION_HISTORY_WINDOW: int = 5