mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
Update suspended_user_cleanup_scheduler.rb
This commit is contained in:
parent
618ce0ddc5
commit
40f4d069bf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue