Skip to content

Commit

Permalink
Add buffer for pod event
Browse files Browse the repository at this point in the history
  • Loading branch information
icloudnote authored and tekton-robot committed Feb 5, 2025
1 parent 3ec3371 commit a68915a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/pods/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (p *Pod) Wait() (*corev1.Pod, error) {
}

stopC := make(chan struct{})
eventC := make(chan interface{})
eventC := make(chan interface{}, 10)
mu := sync.Mutex{}
defer func() {
mu.Lock()
Expand Down

0 comments on commit a68915a

Please sign in to comment.