1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Actually remove the truncation.

This commit is contained in:
Jonathan Hyman 2013-07-25 18:40:54 -04:00
parent d8cd87aa1e
commit 6ce788b121

View file

@ -107,10 +107,9 @@ module Sidekiq
[score.to_f, jid]
end
def display_args(args, count=100)
def display_args(args)
args.map do |arg|
a = arg.inspect
a.size > count ? "#{a[0..count]}..." : a
arg.inspect
end.join(", ")
end