Skip to content

Commit

Permalink
Remove unused scope
Browse files Browse the repository at this point in the history
  • Loading branch information
rosa committed Nov 20, 2023
1 parent aad22b7 commit 9b99846
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/models/solid_queue/semaphore.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
class SolidQueue::Semaphore < SolidQueue::Record
scope :available, -> { where("value > 0") }
scope :locked, -> { where(value: 0) }
scope :expired, -> { where(expires_at: ...Time.current)}

class << self
Expand Down

0 comments on commit 9b99846

Please sign in to comment.