gitea: Correct eviction flag
This commit is contained in:
@@ -13,8 +13,8 @@ spec:
|
|||||||
memory: 1Gi
|
memory: 1Gi
|
||||||
args:
|
args:
|
||||||
- --dbfilename=dump # Static filename prevents disk exhaustion
|
- --dbfilename=dump # Static filename prevents disk exhaustion
|
||||||
- --maxmemory=920Mi # ~90% of the 1Gi limit, leaving headroom
|
- --maxmemory=920Mi # ~90% of the 1Gi limit, leaving headroom
|
||||||
- --maxmemory-policy=volatile-lru # evict only TTL'd keys (cache/session); protect queue
|
- --cache_mode=true # evict near maxmemory instead of rejecting writes (graceful degradation)
|
||||||
- --proactor_threads=1 # Auto-detect CPU cores (optimal threading)
|
- --proactor_threads=1 # Auto-detect CPU cores (optimal threading)
|
||||||
- --cluster_mode=emulated
|
- --cluster_mode=emulated
|
||||||
- --logtostderr
|
- --logtostderr
|
||||||
|
|||||||
Reference in New Issue
Block a user