diff --git a/hosts/mirror-fsn/services/knotmirror.nix b/hosts/mirror-fsn/services/knotmirror.nix index a8c37b1..a1eeee8 100644 --- a/hosts/mirror-fsn/services/knotmirror.nix +++ b/hosts/mirror-fsn/services/knotmirror.nix @@ -30,4 +30,8 @@ after = ["postgresql.service"]; environment.MIRROR_METRICS_LISTEN = "0.0.0.0:7100"; }; + services.redis.servers.knotmirror.settings = { + maxmemory = "8gb"; + maxmemory-policy = "allkeys-lru"; + }; }