Updated AP SynchronizeFeaturedCollectionWorker sidekiq options
• Updated: - AP SynchronizeFeaturedCollectionWorker sidekiq options to retry:0, dead: true
This commit is contained in:
parent
9c67882cf1
commit
43cd72ddcc
@ -3,7 +3,7 @@
|
|||||||
class ActivityPub::SynchronizeFeaturedCollectionWorker
|
class ActivityPub::SynchronizeFeaturedCollectionWorker
|
||||||
include Sidekiq::Worker
|
include Sidekiq::Worker
|
||||||
|
|
||||||
sidekiq_options queue: 'pull', unique: :until_executed
|
sidekiq_options queue: 'pull', unique: :until_executed, retry: 0, dead: true
|
||||||
|
|
||||||
def perform(account_id)
|
def perform(account_id)
|
||||||
ActivityPub::FetchFeaturedCollectionService.new.call(Account.find(account_id))
|
ActivityPub::FetchFeaturedCollectionService.new.call(Account.find(account_id))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user