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

← すべてのコマンド