瀏覽代碼

Allow more events to be buffered before the backend starts

Fixes #719
Tom Denham 7 年之前
父節點
當前提交
db0f3d31d5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      subnet/kube/kube.go

+ 1 - 1
subnet/kube/kube.go

@@ -125,7 +125,7 @@ func newKubeSubnetManager(c clientset.Interface, sc *subnet.Config, nodeName str
 	ksm.client = c
 	ksm.nodeName = nodeName
 	ksm.subnetConf = sc
-	ksm.events = make(chan subnet.Event, 100)
+	ksm.events = make(chan subnet.Event, 5000)
 	indexer, controller := cache.NewIndexerInformer(
 		&cache.ListWatch{
 			ListFunc: func(options metav1.ListOptions) (runtime.Object, error) {