From efadc5ada9bb1eb8ce8accd25b052ed4abc4ff2a Mon Sep 17 00:00:00 2001 From: stuebinm Date: Wed, 8 May 2024 13:55:37 +0200 Subject: [PATCH] monit: increase delay for deployed-commit-on-main there's little point in having it alert while people are working on the config & test-deploying things; it's meant to remind later, in case we forget committing the result. --- parsons/monit.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parsons/monit.nix b/parsons/monit.nix index bb1af96..534927b 100644 --- a/parsons/monit.nix +++ b/parsons/monit.nix @@ -52,7 +52,7 @@ in then restart check program deployed-commit-on-main path ${lib.getExe checkHash} - if status == 1 for 10 cycles then alert + if status == 1 for 64 cycles then alert if status == 2 for 3 cycles then alert check program is-system-running path ${pkgs.systemd}/bin/systemctl is-system-running