
Introduce a new hidden server configuration, `enable-debug-assert`, which allows selectively enabling or disabling, at runtime, expensive or risky assertions used primarily for debugging and testing. Fix #569 --------- Signed-off-by: Ping Xie <pingxie@google.com>
40 lines
793 B
Plaintext
40 lines
793 B
Plaintext
# Server configuration for testing.
|
|
|
|
always-show-logo yes
|
|
notify-keyspace-events KEA
|
|
daemonize no
|
|
pidfile /var/run/valkey.pid
|
|
port 6379
|
|
timeout 0
|
|
bind 127.0.0.1
|
|
loglevel verbose
|
|
logfile ''
|
|
databases 16
|
|
latency-monitor-threshold 1
|
|
repl-diskless-sync-delay 0
|
|
|
|
# Turn off RDB by default (to speedup tests)
|
|
# Note the infrastructure in server.tcl uses a dict, we can't provide several save directives
|
|
save ''
|
|
|
|
rdbcompression yes
|
|
dbfilename dump.rdb
|
|
dir ./
|
|
|
|
slave-serve-stale-data yes
|
|
appendonly no
|
|
appendfsync everysec
|
|
no-appendfsync-on-rewrite no
|
|
activerehashing yes
|
|
|
|
enable-protected-configs yes
|
|
enable-debug-command yes
|
|
enable-module-command yes
|
|
|
|
propagation-error-behavior panic
|
|
|
|
# Make sure shutdown doesn't fail if there's an initial AOFRW
|
|
shutdown-on-sigterm force
|
|
|
|
enable-debug-assert yes
|