Files
myceliumcloud-examples/examples/redis-cache/redis.conf

43 lines
791 B
Plaintext

# Redis Configuration for MyceliumCloud Example
# This is a minimal configuration for learning Redis
# Network
bind 0.0.0.0
port 6379
# Security
protected-mode no
# Memory Management
maxmemory 64mb
maxmemory-policy allkeys-lru
# Persistence (Disabled for simpler learning)
save 900 1
save 300 10
save 60 10000
appendonly no
# Logging
loglevel notice
logfile ""
# General
daemonize no
supervised no
pidfile /var/run/redis_6379.pid
# Slow Log
slowlog-log-slower-than 10000
slowlog-max-len 128
# Client Output Buffer Limits
client-output-buffer-limit normal 0 0 0
client-output-buffer-limit replica 256mb 64mb 60
client-output-buffer-limit pubsub 32mb 8mb 60
# AOF Rewrite Incremental Fsync
aof-rewrite-incremental-fsync yes
# RDB Save Incremental Fsync
rdb-save-incremental-fsync yes