diff --git a/buildbot_nix/__init__.py b/buildbot_nix/__init__.py index eadd328..8ccba85 100644 --- a/buildbot_nix/__init__.py +++ b/buildbot_nix/__init__.py @@ -517,10 +517,10 @@ def nix_build_config( "true", # do not build directly on the coordinator "--max-jobs", "0", - "--option", # stop stuck builds after 20 minutes - "--max-silent-time", - str(60 * 20), + "--max-silent-time", str(60 * 20), + # kill builds after two hours regardless of activity + "--timeout", "7200", "--out-link", util.Interpolate("result-%(prop:attr)s"), util.Interpolate("%(prop:drv_path)s^*"),