diff options
-rw-r--r-- | app/workers/distribution_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/distribution_worker.rb b/app/workers/distribution_worker.rb index 0775e30e6..3e8e83b30 100644 --- a/app/workers/distribution_worker.rb +++ b/app/workers/distribution_worker.rb @@ -6,7 +6,7 @@ class DistributionWorker def perform(status_id, delayed = false) RedisLock.acquire(redis: Redis.current, key: "distribute:#{status_id}") do |lock| if lock.acquired? - FanOutOnWriteService.new.call(Status.find(status_id), delayed) + FanOutOnWriteService.new.call(Status.find(status_id), delayed: delayed) else raise Mastodon::RaceConditionError end |