We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 707a1cd + 232a617 commit f7083c9Copy full SHA for f7083c9
buildbot_nix/__init__.py
@@ -439,11 +439,18 @@ def nix_build_config(
439
"--option",
440
"keep-going",
441
"true",
442
+ "--option",
443
+ # stop stuck builds after 20 minutes
444
+ "--max-silent-time",
445
+ str(60 * 20),
446
"--accept-flake-config",
447
"--out-link",
448
util.Interpolate("result-%(prop:attr)s"),
449
util.Interpolate("%(prop:drv_path)s^*"),
450
],
451
+ # 3 hours, defaults to 20 minutes
452
+ # We increase this over the default since the build output might end up in a different `nix build`.
453
+ timeout=60 * 60 * 3,
454
haltOnFailure=True,
455
)
456
0 commit comments