From 608e5b6ce609288a118aa8d7a21cdd147d84d390 Mon Sep 17 00:00:00 2001 From: Aleksandr Lebedev Date: Wed, 29 Apr 2026 00:10:42 +0200 Subject: [PATCH] fix --- systems/x86_64-linux/stargate/services/adguardhome.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systems/x86_64-linux/stargate/services/adguardhome.nix b/systems/x86_64-linux/stargate/services/adguardhome.nix index 9942c57..0eb1246 100644 --- a/systems/x86_64-linux/stargate/services/adguardhome.nix +++ b/systems/x86_64-linux/stargate/services/adguardhome.nix @@ -38,8 +38,8 @@ in { cache_enabled = true; cache_size = 1024 * 256; - cache_ttl_min = "60s"; - cache_ttl_max = "365d"; + cache_ttl_min = 60; + cache_ttl_max = 60 * 60 * 24 * 365; cache_optimistic = true; cache_optimistic_answer_ttl = "180s"; cache_optimistic_max_age = "600s";