Improve background jobs params and error handling
This commit is contained in:
parent
251b04298e
commit
6c28886317
5 changed files with 12 additions and 2 deletions
|
@ -3,6 +3,8 @@
|
|||
class ThreadResolveWorker
|
||||
include Sidekiq::Worker
|
||||
|
||||
sidekiq_options retry: false
|
||||
|
||||
def perform(child_status_id, parent_url)
|
||||
child_status = Status.find(child_status_id)
|
||||
parent_status = FetchRemoteStatusService.new.call(parent_url)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue