From 493267d481b8bd22c5990cd0b5d7395e03457d5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 21 Aug 2021 00:29:56 +0200 Subject: [PATCH] increase timeout fixes https://github.com/nix-community/NUR/issues/375 --- nur/update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nur/update.py b/nur/update.py index 1e5db4e47..9fc9d53d4 100644 --- a/nur/update.py +++ b/nur/update.py @@ -53,9 +53,9 @@ import {EVALREPO_PATH} {{ cmd, env=dict(PATH=os.environ["PATH"]), stdout=subprocess.DEVNULL ) try: - res = proc.wait(5) + res = proc.wait(10) except subprocess.TimeoutExpired: - raise EvalError(f"evaluation for {repo.name} timed out of after 5 seconds") + raise EvalError(f"evaluation for {repo.name} timed out of after 10 seconds") if res != 0: raise EvalError(f"{repo.name} does not evaluate:\n$ {' '.join(cmd)}")