From b103d37178dff0e13f492d16a661ed43d1d5e9d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20J=C3=B6rg?= Date: Sat, 6 Jun 2026 15:38:59 +0200 Subject: [PATCH] gitea: Correct eviction flag --- values/gitea/manifests/dragonfly.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/values/gitea/manifests/dragonfly.yaml b/values/gitea/manifests/dragonfly.yaml index 8c809aee..b9c21759 100644 --- a/values/gitea/manifests/dragonfly.yaml +++ b/values/gitea/manifests/dragonfly.yaml @@ -13,8 +13,8 @@ spec: memory: 1Gi args: - --dbfilename=dump # Static filename prevents disk exhaustion - - --maxmemory=920Mi # ~90% of the 1Gi limit, leaving headroom - - --maxmemory-policy=volatile-lru # evict only TTL'd keys (cache/session); protect queue + - --maxmemory=920Mi # ~90% of the 1Gi limit, leaving headroom + - --cache_mode=true # evict near maxmemory instead of rejecting writes (graceful degradation) - --proactor_threads=1 # Auto-detect CPU cores (optimal threading) - --cluster_mode=emulated - --logtostderr