Skip to content

Automate browser based workflows with AI

Update download blcok timeout to 2 minutes (from 20 minutes (#3684)

Suchintanf5a313c74b8a
diff --git a/skyvern-frontend/src/api/types.ts b/skyvern-frontend/src/api/types.ts
index c5aad451c..6398aa2a8 100644
--- a/skyvern-frontend/src/api/types.ts
+++ b/skyvern-frontend/src/api/types.ts
@@ -489,4 +489,4 @@ export type PylonEmailHash = {
hash: string;
};
-export const BROWSER_DOWNLOAD_TIMEOUT_SECONDS = 600 as const;
+export const BROWSER_DOWNLOAD_TIMEOUT_SECONDS = 120 as const;
diff --git a/skyvern/constants.py b/skyvern/constants.py
index 8ec5d796e..accb93171 100644
--- a/skyvern/constants.py
+++ b/skyvern/constants.py
@@ -9,7 +9,7 @@ REPO_ROOT_DIR = SKYVERN_DIR.parent
INPUT_TEXT_TIMEOUT = 120000 # 2 minutes
PAGE_CONTENT_TIMEOUT = 300 # 5 mins
BROWSER_CLOSE_TIMEOUT = 180 # 3 minute
-BROWSER_DOWNLOAD_MAX_WAIT_TIME = 1200 # 20 minute
+BROWSER_DOWNLOAD_MAX_WAIT_TIME = 120 # 2 minute
BROWSER_DOWNLOAD_TIMEOUT = 600 # 10 minute
DOWNLOAD_FILE_PREFIX = "downloads"
SAVE_DOWNLOADED_FILES_TIMEOUT = 180