diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-04-13 01:27:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-13 01:27:22 +0200 |
commit | 778562c223844226a52198100dc081811bdd9d35 (patch) | |
tree | 8e55abb4e55a4fdcacc770f9886d96bf94451eea /app/workers | |
parent | 9e45b051cfea667f9ca3d3c72d13022259315090 (diff) |
Ensure SynchronizeFeaturedCollectionWorker is unique and clean up (#7043)
* Ensure SynchronizeFeaturedCollectionWorker is unique and clean up Fix #7041 * Fix code style issue
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/activitypub/synchronize_featured_collection_worker.rb | 2 |
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 dd676a3ee..7b16d3426 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' + sidekiq_options queue: 'pull', unique: :until_executed def perform(account_id) ActivityPub::FetchFeaturedCollectionService.new.call(Account.find(account_id)) |