Skip to content

Commit f76fcee

Browse files
committed
Increase the gRPC payload limits of metastore gRPC client to 20MiB.
1 parent 65895fd commit f76fcee

File tree

1 file changed

+3
-1
lines changed
  • quickwit/quickwit-metastore/src/metastore/grpc_metastore

1 file changed

+3
-1
lines changed

quickwit/quickwit-metastore/src/metastore/grpc_metastore/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ impl MetastoreGrpcClient {
8282
let underlying = MetastoreServiceClient::with_interceptor(
8383
balance_channel.clone(),
8484
SpanContextInterceptor,
85-
);
85+
)
86+
.max_decoding_message_size(20 * 1024 * 1024)
87+
.max_encoding_message_size(20 * 1024 * 1024);
8688
let uri = QuickwitUri::from_well_formed(GRPC_METASTORE_BASE_URI);
8789
Ok(Self {
8890
underlying,

0 commit comments

Comments
 (0)