mirror of
https://github.com/osrg/gobgp.git
synced 2024-05-11 05:55:10 +00:00
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:
+1
-1
@@ -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() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user