about summary refs log tree commit diff
path: root/app/workers/activitypub/synchronize_featured_collection_worker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/activitypub/synchronize_featured_collection_worker.rb')
-rw-r--r--app/workers/activitypub/synchronize_featured_collection_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/activitypub/synchronize_featured_collection_worker.rb b/app/workers/activitypub/synchronize_featured_collection_worker.rb
index 7b16d3426..7a0898e89 100644
--- a/app/workers/activitypub/synchronize_featured_collection_worker.rb
+++ b/app/workers/activitypub/synchronize_featured_collection_worker.rb
@@ -3,7 +3,7 @@
 class ActivityPub::SynchronizeFeaturedCollectionWorker
   include Sidekiq::Worker
 
-  sidekiq_options queue: 'pull', unique: :until_executed
+  sidekiq_options queue: 'pull', lock: :until_executed
 
   def perform(account_id)
     ActivityPub::FetchFeaturedCollectionService.new.call(Account.find(account_id))