Change sidekiq-bulk's batch size from 10,000 to 1,000 jobs in one Redis call (#24034)
This commit is contained in:
@@ -131,7 +131,7 @@ module Mastodon
|
||||
json = Oj.dump(ActivityPub::LinkedDataSignature.new(payload).sign!(account))
|
||||
|
||||
unless options[:dry_run]
|
||||
ActivityPub::DeliveryWorker.push_bulk(inboxes) do |inbox_url|
|
||||
ActivityPub::DeliveryWorker.push_bulk(inboxes, limit: 1_000) do |inbox_url|
|
||||
[json, account.id, inbox_url]
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user