Skip to content

Instantly share code, notes, and snippets.

@antirez
Created June 15, 2017 10:52
Show Gist options
  • Save antirez/a56048b04e372be7a361fdad9dcb6e29 to your computer and use it in GitHub Desktop.
Save antirez/a56048b04e372be7a361fdad9dcb6e29 to your computer and use it in GitHub Desktop.
127.0.0.1:6379> client setname worker-502
OK
127.0.0.1:6379> debug sleep 1
OK
(1.00s)
127.0.0.1:6379> slowlog get
1) 1) (integer) 0
2) (integer) 1497523890
3) (integer) 1002448
4) 1) "debug"
2) "sleep"
3) "1"
5) "127.0.0.1:51423"
6) "worker-502"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment