Skip to content

Commit

Permalink
Merge pull request #383 from camptocamp/fix
Browse files Browse the repository at this point in the history
Be able to set a timeout specific to Snyk fix
  • Loading branch information
sbrunner authored Jun 20, 2024
2 parents cecfe3c + 92507f9 commit d246cc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github_app_geo_project/module/audit/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ async def _snyk_fix(
fix_message, snyk_fix_success, message = await module_utils.run_timeout(
command,
env_no_debug,
int(os.environ.get("GHCI_SNYK_TIMEOUT", "300")),
int(os.environ.get("GHCI_SNYK_FIX_TIMEOUT", os.environ.get("GHCI_SNYK_TIMEOUT", "300"))),
"Snyk fix",
"Error while fixing the project",
"Timeout while fixing the project",
Expand Down

0 comments on commit d246cc3

Please sign in to comment.