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