lib/cacheflow/redis.rb in cacheflow-0.3.2 vs lib/cacheflow/redis.rb in cacheflow-0.3.3
- old
+ new
@@ -39,10 +39,10 @@
name = "%s (%.2fms)" % ["Redis", event.duration]
commands = []
event.payload[:commands].map do |op, *args|
- commands << "#{op.to_s.upcase} #{args.join(" ")}".strip
+ commands << "#{op.to_s.upcase} #{Cacheflow.args(args)}".strip
end
debug " #{color(name, RED, bold: true)} #{commands.join(" >> ")}"
end
end