From cad9034c9d7c8d5d6a3d8a27227c0b43d99be51a Mon Sep 17 00:00:00 2001 From: CopyDemon Date: Wed, 23 Oct 2024 15:43:37 -0700 Subject: [PATCH] try new timeout 30000 --- idaes_ui/fv/fsvis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/idaes_ui/fv/fsvis.py b/idaes_ui/fv/fsvis.py index a520cbf..ce9f2a6 100644 --- a/idaes_ui/fv/fsvis.py +++ b/idaes_ui/fv/fsvis.py @@ -418,7 +418,7 @@ async def _async_save_diagram( async with async_playwright() as p: _log.info("launch browser, Max timeout 30s") browser = await p.chromium.launch( - headless=True, args=["--no-sandbox"], timeout=3000000 + headless=True, args=["--no-sandbox"], timeout=30000 ) context = await browser.new_context(viewport={"width": 1920, "height": 1080}) page = await context.new_page() @@ -440,7 +440,7 @@ async def _async_save_diagram( _log.info("Downloading image, Max timeout 30s") # Click download btn on UI pop modal async with page.expect_download() as download_info: - await page.click(".control-button", timeout=3000000) + await page.click(".control-button", timeout=30000) # Get download value download = await download_info.value