Skip to content

Commit

Permalink
try new timeout 30000
Browse files Browse the repository at this point in the history
  • Loading branch information
CopyDemon committed Oct 23, 2024
1 parent 7392b80 commit cad9034
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions idaes_ui/fv/fsvis.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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
Expand Down

0 comments on commit cad9034

Please sign in to comment.