From 7c3007ab9734f02e736cf8fee673dbd136e3b0db Mon Sep 17 00:00:00 2001 From: Rosa Gutierrez Date: Wed, 22 Nov 2023 20:30:47 +0100 Subject: [PATCH] Remove unused method, replaced by a scope --- app/models/solid_queue/ready_execution.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/models/solid_queue/ready_execution.rb b/app/models/solid_queue/ready_execution.rb index 243c4f7e..7701d815 100644 --- a/app/models/solid_queue/ready_execution.rb +++ b/app/models/solid_queue/ready_execution.rb @@ -14,10 +14,6 @@ def claim(queue_list, limit, process_id) end end - def queued_as(queues) - QueueParser.new(queues, self).scoped_relation - end - private def select_and_lock(queue_relation, process_id, limit) return [] if limit <= 0