first commit
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
# Redis configuration file.
|
||||
# Basic settings.
|
||||
bind 0.0.0.0
|
||||
port 9736
|
||||
timeout 0
|
||||
tcp-keepalive 300
|
||||
|
||||
# Memory management.
|
||||
maxmemory 256mb
|
||||
maxmemory-policy allkeys-lru
|
||||
|
||||
# Persistence settings.
|
||||
save 900 1
|
||||
save 300 10
|
||||
save 60 10000
|
||||
stop-writes-on-bgsave-error yes
|
||||
rdbcompression yes
|
||||
rdbchecksum yes
|
||||
dbfilename dump_backend_redis.rdb
|
||||
dir /data/simplecad_redis
|
||||
|
||||
# AOF settings.
|
||||
appendonly yes
|
||||
appendfilename "appendonly.aof"
|
||||
appendfsync everysec
|
||||
no-appendfsync-on-rewrite no
|
||||
auto-aof-rewrite-percentage 100
|
||||
auto-aof-rewrite-min-size 64mb
|
||||
|
||||
# Logging settings.
|
||||
loglevel notice
|
||||
logfile ""
|
||||
|
||||
# Security settings.
|
||||
# requirepass your_redis_password_here # Uncomment and set a password.
|
||||
|
||||
# Performance optimization.
|
||||
tcp-backlog 511
|
||||
databases 16
|
||||
hash-max-ziplist-entries 512
|
||||
hash-max-ziplist-value 64
|
||||
list-max-ziplist-size -2
|
||||
list-compress-depth 0
|
||||
set-max-intset-entries 512
|
||||
zset-max-ziplist-entries 128
|
||||
zset-max-ziplist-value 64
|
||||
activerehashing yes
|
||||
client-output-buffer-limit normal 0 0 0
|
||||
client-output-buffer-limit slave 256mb 64mb 60
|
||||
client-output-buffer-limit pubsub 32mb 8mb 60
|
||||
hz 10
|
||||
aof-rewrite-incremental-fsync yes
|
||||
Reference in New Issue
Block a user