Skip to content

Commit 499fdfa

Browse files
authored
Merge pull request kubernetes#89846 from connorgorman/configurable-default-chan-size
Make DefaultChanSize an exported var so it can be modified
2 parents 5668dbd + aa57a36 commit 499fdfa

File tree

1 file changed

+2
-0
lines changed
  • staging/src/k8s.io/apimachinery/pkg/watch

1 file changed

+2
-0
lines changed

staging/src/k8s.io/apimachinery/pkg/watch/watch.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ const (
4646
Deleted EventType = "DELETED"
4747
Bookmark EventType = "BOOKMARK"
4848
Error EventType = "ERROR"
49+
)
4950

51+
var (
5052
DefaultChanSize int32 = 100
5153
)
5254

0 commit comments

Comments
 (0)