You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.3 KiB

5 years ago
  1. # Redis configuration file. That is a sample configuration file without all comment.
  2. # If you redefine rules for local environment - use redis-local.conf and uncomment appropriate include line below
  3. timeout 0
  4. tcp-keepalive 300
  5. daemonize no
  6. supervised no
  7. rdbcompression yes
  8. rdbchecksum yes
  9. slave-serve-stale-data yes
  10. slave-read-only yes
  11. repl-diskless-sync no
  12. repl-diskless-sync-delay 5
  13. repl-disable-tcp-nodelay no
  14. slave-priority 100
  15. lazyfree-lazy-eviction no
  16. lazyfree-lazy-expire no
  17. lazyfree-lazy-server-del no
  18. slave-lazy-flush no
  19. appendonly no
  20. appendfilename "appendonly.aof"
  21. appendfsync everysec
  22. no-appendfsync-on-rewrite no
  23. auto-aof-rewrite-percentage 100
  24. auto-aof-rewrite-min-size 64mb
  25. aof-load-truncated yes
  26. aof-use-rdb-preamble no
  27. lua-time-limit 5000
  28. slowlog-log-slower-than 10000
  29. slowlog-max-len 128
  30. latency-monitor-threshold 0
  31. notify-keyspace-events ""
  32. hash-max-ziplist-entries 512
  33. hash-max-ziplist-value 64
  34. list-max-ziplist-size -2
  35. list-compress-depth 0
  36. set-max-intset-entries 512
  37. zset-max-ziplist-entries 128
  38. zset-max-ziplist-value 64
  39. hll-sparse-max-bytes 3000
  40. activerehashing yes
  41. client-output-buffer-limit normal 0 0 0
  42. client-output-buffer-limit slave 256mb 64mb 60
  43. client-output-buffer-limit pubsub 32mb 8mb 60
  44. hz 10
  45. aof-rewrite-incremental-fsync yes
  46. include /usr/local/etc/redis/redis-local.conf