removed cache mode so noeviction gets set
This commit is contained in:
parent
0b7846fe67
commit
bb06e14ab6
2 changed files with 5 additions and 11 deletions
|
|
@ -1,5 +1,4 @@
|
|||
services:
|
||||
# Dragonfly - Redis replacement for caching and events
|
||||
services: # Dragonfly - Redis replacement for caching and events
|
||||
dragonfly:
|
||||
image: docker.dragonflydb.io/dragonflydb/dragonfly:latest
|
||||
container_name: trading-bot-dragonfly
|
||||
|
|
@ -16,17 +15,14 @@ services:
|
|||
command:
|
||||
- dragonfly
|
||||
- --logtostderr
|
||||
- --cache_mode=true
|
||||
- --maxmemory=8gb
|
||||
- --proactor_threads=8
|
||||
- --bind=0.0.0.0
|
||||
- --admin_port=6380
|
||||
- --proactor_threads=8 # Number of I/O threads (CPU cores)
|
||||
- --cache_mode=true # Enable cache mode for better performance
|
||||
- --cluster_mode=emulated # Better for single-node performance
|
||||
- --hz=500 # Increase background task frequency
|
||||
- --cluster_mode=emulated
|
||||
- --hz=500
|
||||
- --tcp_keepalive=60
|
||||
- --conn_use_incoming_cpu=true # Better CPU utilization
|
||||
- --conn_use_incoming_cpu=true
|
||||
- --lock_on_hashtags
|
||||
- --default_lua_flags=allow-undeclared-keys
|
||||
volumes:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue