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
d3a51cb24e
commit
3f2ffa63e5
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('low_delivery').size > MAX_QUEUE_SIZE
|
||||
return if Sidekiq::Queue.new('low_priority').size > MAX_QUEUE_SIZE
|
||||
|
||||
process_deletion_requests!
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue