Commit a86d7a1f authored by Z.J. van de Weg's avatar Z.J. van de Weg
Browse files

Add active runner count

parent b3b511b2
Pipeline #25285 passed with stage
in 2 minutes and 43 seconds
......@@ -18,7 +18,8 @@ module GitLab
},
personal_snippets: { select: :snippets, where: "type='PersonalSnippet'" },
project_snippets: { select: :snippets, where: "type='ProjectSnippet'" },
users: { select: :users }
users: { select: :users },
active_runners: { select: :ci_runners, where: "active=true AND contacted_at > current_date - 1" }
}.freeze
def run
......
Markdown is supported
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