fix(devops): set Valkey maxmemory-policy to noeviction for BullMQ
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 <[email protected]>
This commit is contained in:
@@ -50,7 +50,7 @@ services:
|
||||
command:
|
||||
- valkey-server
|
||||
- --maxmemory ${VALKEY_MAXMEMORY:-256mb}
|
||||
- --maxmemory-policy allkeys-lru
|
||||
- --maxmemory-policy noeviction
|
||||
- --appendonly yes
|
||||
volumes:
|
||||
- valkey_data:/data
|
||||
|
||||
@@ -61,7 +61,7 @@ services:
|
||||
command:
|
||||
- valkey-server
|
||||
- --maxmemory ${VALKEY_MAXMEMORY:-256mb}
|
||||
- --maxmemory-policy allkeys-lru
|
||||
- --maxmemory-policy noeviction
|
||||
- --appendonly yes
|
||||
volumes:
|
||||
- valkey_data:/data
|
||||
|
||||
@@ -63,7 +63,7 @@ services:
|
||||
command:
|
||||
- valkey-server
|
||||
- --maxmemory ${VALKEY_MAXMEMORY:-256mb}
|
||||
- --maxmemory-policy allkeys-lru
|
||||
- --maxmemory-policy noeviction
|
||||
- --appendonly yes
|
||||
volumes:
|
||||
- valkey_data:/data
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ services:
|
||||
command:
|
||||
- valkey-server
|
||||
- --maxmemory ${VALKEY_MAXMEMORY:-256mb}
|
||||
- --maxmemory-policy allkeys-lru
|
||||
- --maxmemory-policy noeviction
|
||||
- --appendonly yes
|
||||
ports:
|
||||
- "${VALKEY_PORT:-6379}:6379"
|
||||
|
||||
@@ -46,7 +46,7 @@ services:
|
||||
command:
|
||||
- valkey-server
|
||||
- --maxmemory ${VALKEY_MAXMEMORY:-256mb}
|
||||
- --maxmemory-policy allkeys-lru
|
||||
- --maxmemory-policy noeviction
|
||||
- --appendonly yes
|
||||
ports:
|
||||
- "${VALKEY_PORT:-6379}:6379"
|
||||
|
||||
@@ -50,7 +50,7 @@ services:
|
||||
command:
|
||||
- valkey-server
|
||||
- --maxmemory ${VALKEY_MAXMEMORY:-256mb}
|
||||
- --maxmemory-policy allkeys-lru
|
||||
- --maxmemory-policy noeviction
|
||||
- --appendonly yes
|
||||
volumes:
|
||||
- valkey_data:/data
|
||||
|
||||
Reference in New Issue
Block a user