mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-06-10 01:19:35 +00:00
Add task details to queue info in woodpecker-go (#3636)
This commit is contained in:
parent
719021b91c
commit
e51f804ad6
|
@ -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"`
|
||||||
|
|
Loading…
Reference in a new issue