feat: all cpus reservations to 0.1

This commit is contained in:
Sun-ZhenXing
2026-05-14 16:22:07 +08:00
parent 453a3eab11
commit 53b841926e
274 changed files with 828 additions and 828 deletions
+3 -3
View File
@@ -17,9 +17,9 @@ TZ=UTC
SKIP_FIX_PERMS=
# CPU limits
REDIS_CPU_LIMIT=0.50
REDIS_CPU_RESERVATION=0.25
REDIS_CPU_LIMIT=0.5
REDIS_CPU_RESERVATION=0.1
# Memory limits
REDIS_MEMORY_LIMIT=256M
REDIS_MEMORY_RESERVATION=128M
REDIS_MEMORY_RESERVATION=128M
+2 -2
View File
@@ -38,10 +38,10 @@ services:
deploy:
resources:
limits:
cpus: ${REDIS_CPU_LIMIT:-0.50}
cpus: ${REDIS_CPU_LIMIT:-0.5}
memory: ${REDIS_MEMORY_LIMIT:-256M}
reservations:
cpus: ${REDIS_CPU_RESERVATION:-0.25}
cpus: ${REDIS_CPU_RESERVATION:-0.1}
memory: ${REDIS_MEMORY_RESERVATION:-128M}
volumes: