increase ci timeout

This commit is contained in:
Daylin Morgan 2024-11-18 11:36:35 -06:00
parent afa347e80e
commit 4e30ceffb9
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -4,6 +4,7 @@ import ./[exec, context]
# localPassC is used by zippy but the additional # localPassC is used by zippy but the additional
# module mangling on nixos somehow breaks localPassC # module mangling on nixos somehow breaks localPassC
# https://github.com/NixOS/nixpkgs/issues/356524
when defined(amd64) and (defined(gcc) or defined(clang)): when defined(amd64) and (defined(gcc) or defined(clang)):
{.passC: "-msse4.1 -mpclmul".} {.passC: "-msse4.1 -mpclmul".}
@ -79,7 +80,11 @@ proc postGhApi(url: string, body: JsonNode) =
except: except:
errorQuit "failed to get response code" errorQuit "failed to get response code"
proc getInProgressRun(workflow: string, timeout: int = 5000): (GhWorkflowRun, bool) = proc getInProgressRun(
workflow: string,
timeout: int = 10000
): (GhWorkflowRun, bool) =
## wait up to 10 seconds to try to fetch ongoing run url
let let
start = now() start = now()
timeoutDuration = initDuration(milliseconds = timeout) timeoutDuration = initDuration(milliseconds = timeout)