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

Merge pull request #2913 from brianebeyer/patch-1

Truncate text in display_args based on formerly unused variable
This commit is contained in:
Mike Perham 2016-04-06 15:19:54 -07:00
commit 7dded0cef9

View file

@ -166,7 +166,7 @@ module Sidekiq
def display_args(args, truncate_after_chars = 2000)
args.map do |arg|
h(truncate(to_display(arg)))
h(truncate(to_display(arg), truncate_after_chars))
end.join(", ")
end