add bundle:redis, add redis support to pretalx
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
ce76430b4d
commit
fd421bf6f8
5 changed files with 104 additions and 0 deletions
50
bundles/redis/files/redis.conf
Normal file
50
bundles/redis/files/redis.conf
Normal file
|
@ -0,0 +1,50 @@
|
|||
activerehashing yes
|
||||
aof-load-truncated yes
|
||||
aof-rewrite-incremental-fsync yes
|
||||
appendfilename "appendonly.aof"
|
||||
appendfsync everysec
|
||||
appendonly ${node.metadata.get('redis', {}).get('appendonly', "no")}
|
||||
auto-aof-rewrite-min-size 64mb
|
||||
auto-aof-rewrite-percentage 100
|
||||
bind ${node.metadata.get('redis', {}).get('bind', "127.0.0.1")}
|
||||
client-output-buffer-limit normal 0 0 0
|
||||
client-output-buffer-limit pubsub 32mb 8mb 60
|
||||
client-output-buffer-limit slave 256mb 64mb 60
|
||||
daemonize yes
|
||||
databases 16
|
||||
dbfilename dump.rdb
|
||||
dir /var/lib/redis
|
||||
hash-max-ziplist-entries 512
|
||||
hash-max-ziplist-value 64
|
||||
hll-sparse-max-bytes 3000
|
||||
hz 10
|
||||
latency-monitor-threshold 0
|
||||
list-max-ziplist-entries 512
|
||||
list-max-ziplist-value 64
|
||||
logfile /var/log/redis/redis-server.log
|
||||
loglevel notice
|
||||
lua-time-limit 5000
|
||||
no-appendfsync-on-rewrite no
|
||||
notify-keyspace-events ""
|
||||
pidfile /var/run/redis/redis-server.pid
|
||||
port 6379
|
||||
rdbchecksum yes
|
||||
rdbcompression yes
|
||||
repl-disable-tcp-nodelay no
|
||||
repl-diskless-sync no
|
||||
repl-diskless-sync-delay 5
|
||||
save 300 10
|
||||
save 60 10000
|
||||
save 900 1
|
||||
set-max-intset-entries 512
|
||||
slave-priority 100
|
||||
slave-read-only yes
|
||||
slave-serve-stale-data yes
|
||||
slowlog-log-slower-than 10000
|
||||
slowlog-max-len 128
|
||||
stop-writes-on-bgsave-error yes
|
||||
tcp-backlog 511
|
||||
tcp-keepalive 0
|
||||
timeout 0
|
||||
zset-max-ziplist-entries 128
|
||||
zset-max-ziplist-value 64
|
Loading…
Add table
Add a link
Reference in a new issue