From e15a3867d46fe88bbce91476d3523f3208165287 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Mon, 22 Jul 2024 11:20:02 +0200 Subject: [PATCH] Add 10 min shutdown jitter to avoid spikes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The shutdown timer will fire at slightly different times for the different nodes, so we slowly decrease the power consumption. Reviewed-by: Aleix Boné --- m/common/base/august-shutdown.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/m/common/base/august-shutdown.nix b/m/common/base/august-shutdown.nix index 5eaa803..624340c 100644 --- a/m/common/base/august-shutdown.nix +++ b/m/common/base/august-shutdown.nix @@ -7,6 +7,7 @@ wantedBy = [ "timers.target" ]; timerConfig = { OnCalendar = "*-08-02 11:00:00"; + RandomizedDelaySec = "10min"; Unit = "systemd-poweroff.service"; }; };