Skip to content

Commit

Permalink
Document CLIENT KILL MAXAGE filter (#2666)
Browse files Browse the repository at this point in the history
  • Loading branch information
slavak authored Mar 8, 2024
1 parent 2dd99c4 commit 9d4eadf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions commands/client-kill.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ instead of killing just by address. The following filters are available:
* `CLIENT KILL TYPE type`, where *type* is one of `normal`, `master`, `replica` and `pubsub`. This closes the connections of **all the clients** in the specified class. Note that clients blocked into the `MONITOR` command are considered to belong to the `normal` class.
* `CLIENT KILL USER username`. Closes all the connections that are authenticated with the specified [ACL](/topics/acl) username, however it returns an error if the username does not map to an existing ACL user.
* `CLIENT KILL SKIPME yes/no`. By default this option is set to `yes`, that is, the client calling the command will not get killed, however setting this option to `no` will have the effect of also killing the client calling the command.
* `CLIENT KILL MAXAGE maxage`. Closes all the connections that are older than the specified age, in seconds.

It is possible to provide multiple filters at the same time. The command will handle multiple filters via logical AND. For example:

Expand Down

0 comments on commit 9d4eadf

Please sign in to comment.