Commit 0efdb74c authored by MARGERY David's avatar MARGERY David Committed by Lucas Nussbaum
Browse files

Complete the possible states for a positive check to optimize performance of query as per bug #7970

parent 778d0f3a
......@@ -195,7 +195,7 @@ module OAR
class << self
def active
where("state IN ('Waiting', 'Running')")
where("state IN ('Waiting','Hold','toLaunch','toError','toAckReservation','Launching','Running','Suspended','Resuming','Finishing')")
end # def active
def expanded
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment