about summary refs log tree commit diff
path: root/app/workers/publish_scheduled_status_worker.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-04-02 22:17:29 +0200
committerGitHub <noreply@github.com>2020-04-02 22:17:29 +0200
commit5c5317041f17375666bfaf4788f0adf71804b47d (patch)
tree4dfa61cff64d1f2477bcbf914e16b25fd2953386 /app/workers/publish_scheduled_status_worker.rb
parenta192b193bdf7013df09c6cd63916274cd9d47cf7 (diff)
parentb367dd713e5b97d79d52e9cb67042eadb241d032 (diff)
Merge pull request #1310 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/workers/publish_scheduled_status_worker.rb')
-rw-r--r--app/workers/publish_scheduled_status_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/publish_scheduled_status_worker.rb b/app/workers/publish_scheduled_status_worker.rb
index 850610c4e..ce42f7be7 100644
--- a/app/workers/publish_scheduled_status_worker.rb
+++ b/app/workers/publish_scheduled_status_worker.rb
@@ -3,7 +3,7 @@
 class PublishScheduledStatusWorker
   include Sidekiq::Worker
 
-  sidekiq_options unique: :until_executed
+  sidekiq_options lock: :until_executed
 
   def perform(scheduled_status_id)
     scheduled_status = ScheduledStatus.find(scheduled_status_id)