mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Truncate text in display_args based on formerly unused variable
This commit is contained in:
parent
4489edd5a9
commit
b2ad7ba3fe
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue