gobgp: mrt inject increase the number of channel

Make work faster if possible (with consuming more memory). The number
is near the full destinations.

Signed-off-by: FUJITA Tomonori <[email protected]>
This commit is contained in:
FUJITA Tomonori
2015-08-29 13:01:10 +09:00
parent fddfcd9e42
commit 56bfc93a38
+1 -1
View File
@@ -206,7 +206,7 @@ func injectMrt(r string, filename string, count int) error {
idx := 0
ch := make(chan *api.ModPathArguments, 1024)
ch := make(chan *api.ModPathArguments, 1<<20)
go func() {