From 6cd145d8f5a0f3eadd068cfb283872d63f50d408 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Tue, 4 Apr 2023 19:25:50 +0200 Subject: Faster redeploy --- host/Spacebar-monitoring/configuration.nix | 2 +- modules/auto-redeploy.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/host/Spacebar-monitoring/configuration.nix b/host/Spacebar-monitoring/configuration.nix index a50ad28..45bab62 100755 --- a/host/Spacebar-monitoring/configuration.nix +++ b/host/Spacebar-monitoring/configuration.nix @@ -233,7 +233,7 @@ url = "http://localhost:9090"; access = "proxy"; isDefault = true; - } + }; }; }; dashboards.settings = { diff --git a/modules/auto-redeploy.nix b/modules/auto-redeploy.nix index 4554a4e..5b68353 100644 --- a/modules/auto-redeploy.nix +++ b/modules/auto-redeploy.nix @@ -6,8 +6,8 @@ after = [ "network.target" ]; timerConfig = { #every 30 seconds since boot - OnBootSec = "10s"; - OnUnitActiveSec = "30s"; + OnBootSec = "30s"; + OnUnitActiveSec = "5s"; Unit = "auto-redeploy.service"; }; }; -- cgit 1.4.1