kevy

DEBUG

Debug subcommands; SLEEP blocks the shard, other subcommands are tolerated as OK.

语法DEBUG SLEEP seconds | subcommand [args ...]
分组server
参数个数-2
起始版本1.0.0
标志readonly, admin
复杂度SLEEP: parks the ANSWERING shard's reactor thread for the duration (other shards keep serving). Everything else: O(1)
Redis 兼容性differs: SLEEP is the only subcommand with an effect and it blocks one shard, not the server; every other subcommand is accepted and answered OK without doing anything

← 全部命令