mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-02-16 11:25:14 +00:00
Add task details to queue info in woodpecker-go (#3636)
This commit is contained in:
parent
719021b91c
commit
e51f804ad6
1 changed files with 4 additions and 1 deletions
|
@ -183,7 +183,10 @@ type (
|
|||
|
||||
// Info provides queue stats.
|
||||
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"`
|
||||
Pending int `json:"pending_count"`
|
||||
WaitingOnDeps int `json:"waiting_on_deps_count"`
|
||||
|
|
Loading…
Reference in a new issue