Skip to content

Commit

Permalink
Merge pull request apache#1247 from cstarc/patch-1
Browse files Browse the repository at this point in the history
Make doc on StreamOptions consistent with the code
  • Loading branch information
jamesge authored Sep 18, 2020
2 parents 71aa40c + 57c1a30 commit 6d9dcf7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/cn/streaming_rpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ struct StreamOptions
// default: -1
long idle_timeout_ms;
// How many messages at most passed to handler->on_received_messages
// default: 1
size_t max_messages_size;
// Maximum messages in batch passed to handler->on_received_messages
// default: 128
size_t messages_in_batch;

// Handle input message, if handler is NULL, the remote side is not allowd to
// write any message, who will get EBADF on writting
Expand Down
6 changes: 3 additions & 3 deletions docs/en/streaming_rpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ struct StreamOptions
// default: -1
long idle_timeout_ms;
// How many messages at most passed to handler->on_received_messages
// default: 1
size_t max_messages_size;
// Maximum messages in batch passed to handler->on_received_messages
// default: 128
size_t messages_in_batch;

// Handle input message, if handler is NULL, the remote side is not allowd to
// write any message, who will get EBADF on writting
Expand Down

0 comments on commit 6d9dcf7

Please sign in to comment.