Skip to content

Commit

Permalink
chore(rpc): set message size to max for stream client (#12082)
Browse files Browse the repository at this point in the history
  • Loading branch information
zwang28 authored Sep 5, 2023
1 parent 4f50903 commit 9ccdbe3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/rpc_client/src/stream_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ impl StreamClient {
.await?
.tracing_injected();

Ok(Self(StreamServiceClient::new(channel)))
Ok(Self(
StreamServiceClient::new(channel).max_decoding_message_size(usize::MAX),
))
}
}

Expand Down

0 comments on commit 9ccdbe3

Please sign in to comment.