From 3f2ffa63e5893fc5049c7757374126ab1534e1a5 Mon Sep 17 00:00:00 2001 From: Shlee Date: Tue, 18 Jun 2024 01:13:09 +0930 Subject: [PATCH] Update suspended_user_cleanup_scheduler.rb --- app/workers/scheduler/suspended_user_cleanup_scheduler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/workers/scheduler/suspended_user_cleanup_scheduler.rb b/app/workers/scheduler/suspended_user_cleanup_scheduler.rb index 20b32d90f80..de89767b3ea 100644 --- a/app/workers/scheduler/suspended_user_cleanup_scheduler.rb +++ b/app/workers/scheduler/suspended_user_cleanup_scheduler.rb @@ -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