소스 검색

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) {