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(", ")
|
args.map { |arg| a = arg.inspect; a.size > count ? "#{a[0..count]}..." : a }.join(", ")
|
||||||
end
|
end
|
||||||
|
|
||||||
RETRY_JOB_KEYS = [
|
RETRY_JOB_KEYS = Set.new(%w(
|
||||||
"queue", "class", "args", "retry_count", "retried_at", "failed_at",
|
queue class args retry_count retried_at failed_at
|
||||||
"retry", "jid", "error_message", "error_class", "backtrace",
|
jid error_message error_class backtrace
|
||||||
"error_backtrace", "unique", "enqueued_at"
|
error_backtrace enqueued_at
|
||||||
]
|
))
|
||||||
|
|
||||||
def retry_extra_items(retry_job)
|
def retry_extra_items(retry_job)
|
||||||
@retry_extra_items ||= {}.tap do |extra|
|
@retry_extra_items ||= {}.tap do |extra|
|
||||||
|
|
Loading…
Reference in a new issue