add 1s delay between cached actions (#4418)

This commit is contained in:
pedrohsdb
2026-01-08 14:35:58 -08:00
committed by GitHub
parent 51b50c61f0
commit b20ee4152a
2 changed files with 5 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ class Settings(BaseSettings):
TEMP_PATH: str = "./temp"
DOWNLOAD_PATH: str = f"{REPO_ROOT_DIR}/downloads"
BROWSER_ACTION_TIMEOUT_MS: int = 5000
CACHED_ACTION_DELAY_SECONDS: float = 1.0
BROWSER_SCREENSHOT_TIMEOUT_MS: int = 20000
BROWSER_LOADING_TIMEOUT_MS: int = 60000
BROWSER_SCRAPING_BUILDING_ELEMENT_TREE_TIMEOUT_MS: int = 60 * 1000 # 1 minute