We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cc892d commit 242fd15Copy full SHA for 242fd15
app/models/solid_queue/queue.rb
@@ -43,7 +43,7 @@ def size
43
def latency
44
@latency = begin
45
now = Time.current
46
- oldest_enqueued_at = SolidQueue::ReadyExecution.queued_as(name).minimum(:created_at) || now
+ oldest_enqueued_at = ReadyExecution.queued_as(name).minimum(:created_at) || now
47
48
(now - oldest_enqueued_at).to_i
49
end
0 commit comments