Rich-T-kid commented on code in PR #10137:
URL: https://github.com/apache/arrow-rs/pull/10137#discussion_r3476964274


##########
arrow-flight/src/encode.rs:
##########
@@ -161,9 +161,9 @@ pub struct FlightDataEncoderBuilder {
 
 /// Default target size for encoded [`FlightData`].
 ///
-/// Note this value would normally be 4MB, but the size calculation is
-/// somewhat inexact, so we set it to 2MB.
-pub const GRPC_TARGET_MAX_FLIGHT_SIZE_BYTES: usize = 2097152;
+/// gRPC's default max message size is 4MB; this 2MB target gives headroom for

Review Comment:
   Im going to replace this with the original values. I initially changed this 
when i was tuning buffer size math. Will revert!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to