From 97da353406b429d843d82891a9b199351243317b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Sat, 8 Jun 2024 16:18:41 +0200 Subject: [PATCH] Audit: Adjust timeout --- github_app_geo_project/module/audit/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/github_app_geo_project/module/audit/utils.py b/github_app_geo_project/module/audit/utils.py index 408a3320e22..ee9f3ca01de 100644 --- a/github_app_geo_project/module/audit/utils.py +++ b/github_app_geo_project/module/audit/utils.py @@ -119,7 +119,7 @@ async def snyk( continue directory = os.path.dirname(os.path.abspath(file)) - async with asyncio.timeout(300): + async with asyncio.timeout(600): try: command = [ "pipenv", @@ -174,7 +174,7 @@ async def snyk( continue if file in local_config.get("files-no-install", config.get("files-no-install", [])): continue - async with asyncio.timeout(1200): + async with asyncio.timeout(600): try: command = ["poetry", "install"] async_proc = await asyncio.create_subprocess_exec(