Skip to content

Commit

Permalink
Add queued_duration field to bridge
Browse files Browse the repository at this point in the history
Example:
```
"duration": 513.796021,
"queued_duration": 0.410923,
```
  • Loading branch information
Dmitriy Lukiyanchuk committed May 30, 2023
1 parent 32985e3 commit 0e5a875
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ type Bridge struct {
FinishedAt *time.Time `json:"finished_at"`
ErasedAt *time.Time `json:"erased_at"`
Duration float64 `json:"duration"`
QueuedDuration float64 `json:"queued_duration"`
ID int `json:"id"`
Name string `json:"name"`
Pipeline PipelineInfo `json:"pipeline"`
Expand Down

0 comments on commit 0e5a875

Please sign in to comment.