Skip to content

Commit e021814

Browse files
committed
Document CLIENT KILL MAXAGE filter
1 parent 8a7f094 commit e021814

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

commands/client-kill.md

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ instead of killing just by address. The following filters are available:
1717
* `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.
1818
* `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.
1919
* `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.
20+
* `CLIENT KILL MAXAGE maxage`. Closes all the connections that are older than the specified age, in seconds.
2021

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

0 commit comments

Comments
 (0)