Method: Redis#slowlog
- Defined in:
- lib/redis.rb
#slowlog(subcommand, length = nil) ⇒ Array<String>, ...
Interact with the slowlog (get, len, reset)
262 263 264 265 266 267 268 |
# File 'lib/redis.rb', line 262 def slowlog(subcommand, length=nil) synchronize do |client| args = [:slowlog, subcommand] args << length if length client.call args end end |