mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-01 06:43:39 +00:00
Add task details to queue info in woodpecker-go (#3636)
This commit is contained in:
@@ -183,7 +183,10 @@ type (
|
|||||||
|
|
||||||
// Info provides queue stats.
|
// Info provides queue stats.
|
||||||
Info struct {
|
Info struct {
|
||||||
Stats struct {
|
Pending []Task `json:"pending"`
|
||||||
|
WaitingOnDeps []Task `json:"waiting_on_deps"`
|
||||||
|
Running []Task `json:"running"`
|
||||||
|
Stats struct {
|
||||||
Workers int `json:"worker_count"`
|
Workers int `json:"worker_count"`
|
||||||
Pending int `json:"pending_count"`
|
Pending int `json:"pending_count"`
|
||||||
WaitingOnDeps int `json:"waiting_on_deps_count"`
|
WaitingOnDeps int `json:"waiting_on_deps_count"`
|
||||||
|
Reference in New Issue
Block a user