Skip to content

Commit

Permalink
Allow more events to be buffered before the backend starts
Browse files Browse the repository at this point in the history
Signed-off-by: forrestchen <[email protected]>
  • Loading branch information
ChenLingPeng committed Sep 24, 2020
1 parent 921c569 commit 89c7fb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subnet/kube/kube.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func newKubeSubnetManager(c clientset.Interface, sc *subnet.Config, nodeName, pr
ksm.client = c
ksm.nodeName = nodeName
ksm.subnetConf = sc
ksm.events = make(chan subnet.Event, 5000)
ksm.events = make(chan subnet.Event, 20000)
indexer, controller := cache.NewIndexerInformer(
&cache.ListWatch{
ListFunc: func(options metav1.ListOptions) (runtime.Object, error) {
Expand Down

0 comments on commit 89c7fb0

Please sign in to comment.