mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Cleanup
This commit is contained in:
parent
20600da581
commit
25447c75e5
1 changed files with 5 additions and 5 deletions
|
@ -107,11 +107,11 @@ module Sidekiq
|
|||
args.map { |arg| a = arg.inspect; a.size > count ? "#{a[0..count]}..." : a }.join(", ")
|
||||
end
|
||||
|
||||
RETRY_JOB_KEYS = [
|
||||
"queue", "class", "args", "retry_count", "retried_at", "failed_at",
|
||||
"retry", "jid", "error_message", "error_class", "backtrace",
|
||||
"error_backtrace", "unique", "enqueued_at"
|
||||
]
|
||||
RETRY_JOB_KEYS = Set.new(%w(
|
||||
queue class args retry_count retried_at failed_at
|
||||
jid error_message error_class backtrace
|
||||
error_backtrace enqueued_at
|
||||
))
|
||||
|
||||
def retry_extra_items(retry_job)
|
||||
@retry_extra_items ||= {}.tap do |extra|
|
||||
|
|
Loading…
Reference in a new issue