[VOL-5434] update voltha-lib-go for recv grpc rsrc exhauseted
Change-Id: I5d690561c79f8d44b0ec60b41d7bcaac8f8ceca1
Signed-off-by: Abhay Kumar <abhayk@radisys.com>
diff --git a/vendor/github.com/opencord/voltha-lib-go/v7/pkg/grpc/client.go b/vendor/github.com/opencord/voltha-lib-go/v7/pkg/grpc/client.go
index e8a0832..2cd54a0 100644
--- a/vendor/github.com/opencord/voltha-lib-go/v7/pkg/grpc/client.go
+++ b/vendor/github.com/opencord/voltha-lib-go/v7/pkg/grpc/client.go
@@ -60,6 +60,12 @@
)
const (
+ // [VOL-5434] Setting max receive message size to 20 MB,
+ // Default value of 'defaultServerMaxReceiveMessageSize' is 4 MB
+ grpcRecvMsgSizeLimit = 20
+)
+
+const (
eventConnecting = event(iota)
eventValidatingConnection
eventConnected
@@ -612,6 +618,7 @@
}
conn, err := grpc.Dial(c.serverEndPoint,
grpc.WithInsecure(),
+ grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(grpcRecvMsgSizeLimit*1024*1024)),
grpc.WithStreamInterceptor(grpc_middleware.ChainStreamClient(
grpc_opentracing.StreamClientInterceptor(grpc_opentracing.WithTracer(log.ActiveTracerProxy{})),
)),
diff --git a/vendor/modules.txt b/vendor/modules.txt
index bba40c6..e4a06e9 100644
--- a/vendor/modules.txt
+++ b/vendor/modules.txt
@@ -137,7 +137,7 @@
github.com/klauspost/compress/huff0
github.com/klauspost/compress/zstd
github.com/klauspost/compress/zstd/internal/xxhash
-# github.com/opencord/voltha-lib-go/v7 v7.6.6
+# github.com/opencord/voltha-lib-go/v7 v7.6.7
## explicit
github.com/opencord/voltha-lib-go/v7/pkg/config
github.com/opencord/voltha-lib-go/v7/pkg/db