jenrryyou commented on code in PR #2889:
URL: https://github.com/apache/brpc/pull/2889#discussion_r1948099151


##########
src/brpc/stream.cpp:
##########
@@ -36,6 +36,18 @@ namespace brpc {
 
 DECLARE_bool(usercode_in_pthread);
 DECLARE_int64(socket_max_streams_unconsumed_bytes);
+DEFINE_uint64(stream_write_max_segment_size, 512 * 1024 * 1024,
+              "Stream message exceeding this size will be automatically split 
into smaller segments");
+
+static bool ValidateStreamWriteMaxSegmentSize(const char* flagname, uint64_t 
value) {

Review Comment:
   已改



-- 
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: dev-unsubscr...@brpc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to