diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-04-04 19:25:50 +0200 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-06-05 17:25:16 +0200 |
commit | 6cd145d8f5a0f3eadd068cfb283872d63f50d408 (patch) | |
tree | ce2bb9ffcf6fed1e36b5bb22f17d803f7a894b0d | |
parent | Configure grafana (diff) | |
download | Spacebar-Open-Infrastructure-6cd145d8f5a0f3eadd068cfb283872d63f50d408.tar.xz |
Faster redeploy
-rwxr-xr-x | host/Spacebar-monitoring/configuration.nix | 2 | ||||
-rw-r--r-- | 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"; }; }; |