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