fix(devops): set Valkey maxmemory-policy to noeviction for BullMQ
Some checks failed
ci/woodpecker/push/infra Pipeline was successful
ci/woodpecker/manual/infra Pipeline was successful
ci/woodpecker/manual/coordinator Pipeline failed
ci/woodpecker/manual/web Pipeline failed
ci/woodpecker/manual/orchestrator Pipeline failed
ci/woodpecker/manual/api Pipeline failed
Some checks failed
ci/woodpecker/push/infra Pipeline was successful
ci/woodpecker/manual/infra Pipeline was successful
ci/woodpecker/manual/coordinator Pipeline failed
ci/woodpecker/manual/web Pipeline failed
ci/woodpecker/manual/orchestrator Pipeline failed
ci/woodpecker/manual/api Pipeline failed
BullMQ requires noeviction to prevent silent job data loss. With allkeys-lru, Valkey could evict keys BullMQ depends on for job tracking. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -50,7 +50,7 @@ services:
|
|||||||
command:
|
command:
|
||||||
- valkey-server
|
- valkey-server
|
||||||
- --maxmemory ${VALKEY_MAXMEMORY:-256mb}
|
- --maxmemory ${VALKEY_MAXMEMORY:-256mb}
|
||||||
- --maxmemory-policy allkeys-lru
|
- --maxmemory-policy noeviction
|
||||||
- --appendonly yes
|
- --appendonly yes
|
||||||
volumes:
|
volumes:
|
||||||
- valkey_data:/data
|
- valkey_data:/data
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ services:
|
|||||||
command:
|
command:
|
||||||
- valkey-server
|
- valkey-server
|
||||||
- --maxmemory ${VALKEY_MAXMEMORY:-256mb}
|
- --maxmemory ${VALKEY_MAXMEMORY:-256mb}
|
||||||
- --maxmemory-policy allkeys-lru
|
- --maxmemory-policy noeviction
|
||||||
- --appendonly yes
|
- --appendonly yes
|
||||||
volumes:
|
volumes:
|
||||||
- valkey_data:/data
|
- valkey_data:/data
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ services:
|
|||||||
command:
|
command:
|
||||||
- valkey-server
|
- valkey-server
|
||||||
- --maxmemory ${VALKEY_MAXMEMORY:-256mb}
|
- --maxmemory ${VALKEY_MAXMEMORY:-256mb}
|
||||||
- --maxmemory-policy allkeys-lru
|
- --maxmemory-policy noeviction
|
||||||
- --appendonly yes
|
- --appendonly yes
|
||||||
volumes:
|
volumes:
|
||||||
- valkey_data:/data
|
- valkey_data:/data
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ services:
|
|||||||
command:
|
command:
|
||||||
- valkey-server
|
- valkey-server
|
||||||
- --maxmemory ${VALKEY_MAXMEMORY:-256mb}
|
- --maxmemory ${VALKEY_MAXMEMORY:-256mb}
|
||||||
- --maxmemory-policy allkeys-lru
|
- --maxmemory-policy noeviction
|
||||||
- --appendonly yes
|
- --appendonly yes
|
||||||
ports:
|
ports:
|
||||||
- "${VALKEY_PORT:-6379}:6379"
|
- "${VALKEY_PORT:-6379}:6379"
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ services:
|
|||||||
command:
|
command:
|
||||||
- valkey-server
|
- valkey-server
|
||||||
- --maxmemory ${VALKEY_MAXMEMORY:-256mb}
|
- --maxmemory ${VALKEY_MAXMEMORY:-256mb}
|
||||||
- --maxmemory-policy allkeys-lru
|
- --maxmemory-policy noeviction
|
||||||
- --appendonly yes
|
- --appendonly yes
|
||||||
ports:
|
ports:
|
||||||
- "${VALKEY_PORT:-6379}:6379"
|
- "${VALKEY_PORT:-6379}:6379"
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ services:
|
|||||||
command:
|
command:
|
||||||
- valkey-server
|
- valkey-server
|
||||||
- --maxmemory ${VALKEY_MAXMEMORY:-256mb}
|
- --maxmemory ${VALKEY_MAXMEMORY:-256mb}
|
||||||
- --maxmemory-policy allkeys-lru
|
- --maxmemory-policy noeviction
|
||||||
- --appendonly yes
|
- --appendonly yes
|
||||||
volumes:
|
volumes:
|
||||||
- valkey_data:/data
|
- valkey_data:/data
|
||||||
|
|||||||
Reference in New Issue
Block a user