This commit is contained in:
Shlee 2024-05-03 15:08:52 +00:00 committed by GitHub
commit 3eea6103da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 4 deletions

View file

@ -1,5 +1,5 @@
# frozen_string_literal: true
class ActivityPub::LowPriorityDeliveryWorker < ActivityPub::DeliveryWorker
sidekiq_options queue: 'pull', retry: 8, dead: false
sidekiq_options queue: 'low_delivery', retry: 8, dead: false
end

View file

@ -19,7 +19,7 @@ class Scheduler::SuspendedUserCleanupScheduler
sidekiq_options retry: 0, lock: :until_executed, lock_ttl: 1.day.to_i
def perform
return if Sidekiq::Queue.new('pull').size > MAX_PULL_SIZE
return if Sidekiq::Queue.new('low_delivery').size > MAX_PULL_SIZE
process_deletion_requests!
end

View file

@ -4,8 +4,9 @@
- [default, 8]
- [push, 6]
- [ingress, 4]
- [mailers, 2]
- [pull]
- [mailers, 3]
- [pull, 2]
- [low_delivery]
- [scheduler]
:scheduler: