You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: commands/client-kill.md
+1
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ instead of killing just by address. The following filters are available:
17
17
*`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.
18
18
*`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.
19
19
*`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.
20
21
21
22
It is possible to provide multiple filters at the same time. The command will handle multiple filters via logical AND. For example:
0 commit comments