From 0374ed53b6b8189edc034bb216f76c987742ca47 Mon Sep 17 00:00:00 2001 From: mikhail-klimko Date: Tue, 19 Mar 2024 15:48:54 +0300 Subject: [PATCH] fix: bump max grpc size (#241) --- changelog/CHANGELOG-2.9-2024.3.19-4fec597.md | 2 ++ cmpserver/apiclient/clientset.go | 2 +- reposerver/apiclient/clientset.go | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 changelog/CHANGELOG-2.9-2024.3.19-4fec597.md diff --git a/changelog/CHANGELOG-2.9-2024.3.19-4fec597.md b/changelog/CHANGELOG-2.9-2024.3.19-4fec597.md new file mode 100644 index 0000000000000..d29dbcd33f7c8 --- /dev/null +++ b/changelog/CHANGELOG-2.9-2024.3.19-4fec597.md @@ -0,0 +1,2 @@ +### Features +- fix(cmp/repo-server): Increase Max GRPC message size to 200MB \ No newline at end of file diff --git a/cmpserver/apiclient/clientset.go b/cmpserver/apiclient/clientset.go index 025625ff8092e..79fc1c47a1f10 100644 --- a/cmpserver/apiclient/clientset.go +++ b/cmpserver/apiclient/clientset.go @@ -16,7 +16,7 @@ import ( const ( // MaxGRPCMessageSize contains max grpc message size - MaxGRPCMessageSize = 100 * 1024 * 1024 + MaxGRPCMessageSize = 200 * 1024 * 1024 ) // Clientset represents config management plugin server api clients diff --git a/reposerver/apiclient/clientset.go b/reposerver/apiclient/clientset.go index 417dc758ef5bd..28fdcb27768b4 100644 --- a/reposerver/apiclient/clientset.go +++ b/reposerver/apiclient/clientset.go @@ -21,7 +21,7 @@ import ( const ( // MaxGRPCMessageSize contains max grpc message size - MaxGRPCMessageSize = 100 * 1024 * 1024 + MaxGRPCMessageSize = 200 * 1024 * 1024 ) // TLSConfiguration describes parameters for TLS configuration to be used by a repo server API client