modules/shared/nix-daemon: set max-silent-time, timeout
This commit is contained in:
parent
1f975577b0
commit
4c623cfb5f
1 changed files with 5 additions and 0 deletions
|
@ -40,5 +40,10 @@ in
|
|||
|
||||
gc.automatic = pkgs.lib.mkDefault true;
|
||||
gc.options = pkgs.lib.mkDefault "--delete-older-than 14d";
|
||||
|
||||
# match buildbot timeouts
|
||||
# https://github.com/nix-community/buildbot-nix/blob/85c0b246cc96cc244e4d9889a97c4991c4593dc3/buildbot_nix/__init__.py#L1008
|
||||
settings.max-silent-time = toString (60 * 20);
|
||||
settings.timeout = toString (60 * 60 * 3);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue