diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/grpc_server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/grpc_server.go b/server/grpc_server.go index a316ab19..160e9cfc 100644 --- a/server/grpc_server.go +++ b/server/grpc_server.go @@ -606,7 +606,7 @@ func NewGrpcRequest(reqType int, remoteAddr string, rf bgp.RouteFamily, d interf RequestType: reqType, RouteFamily: rf, RemoteAddr: remoteAddr, - ResponseCh: make(chan *GrpcResponse), + ResponseCh: make(chan *GrpcResponse, 8), EndCh: make(chan struct{}, 1), Data: d, } |