Method: Redis#slowlog
- Defined in:
- lib/redis.rb
#slowlog(subcommand, length = nil) ⇒ Array<String>, ...
Interact with the slowlog (get, len, reset)
607 608 609 610 611 612 613 |
# File 'lib/redis.rb', line 607 def slowlog(subcommand, length=nil) synchronize do args = [:slowlog, subcommand] args << length if length @client.call args end end |