kevy

CONFIG

Read or change server configuration parameters.

语法CONFIG GET parameter | SET parameter value | REWRITE | RESETSTAT
分组server
参数个数-2
起始版本1.0.0
标志write, admin
复杂度GET: O(patterns * 16). SET: O(1) plus one config swap that shards pick up on their next tick. REWRITE: O(config file size)
Redis 兼容性differs: 16 Redis-named parameters exist; only maxmemory, maxmemory-policy, appendfsync, the auto-rewrite pair, hz, maxmemory-samples, loglevel and logfile are hot-settable — bind, port, io-threads, dir and appendonly error at runtime; RESETSTAT is a no-op

← 全部命令