Skip to content

Commit

Permalink
doc: document when GrpcNumChannelsOption applies (#10000)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbolduc authored Oct 8, 2022
1 parent 7b98883 commit dd47583
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions google/cloud/grpc_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ struct GrpcCredentialOption {
* gRPC limits the number of simultaneous calls in progress on a channel to
* 100. Increasing the number of channels thus increases the number of
* operations that can be in progress in parallel.
*
* @note This option only applies when passed to the following functions:
* - `bigtable::MakeDataConnection()`
* - `pubsub::MakePublisherConnection()`
* - `pubsub::MakeSubscriberConnection()`
* - `spanner::MakeConnection()`
* - `storage_experimental::DefaultGrpcClient()`
*/
struct GrpcNumChannelsOption {
using Type = int;
Expand Down

0 comments on commit dd47583

Please sign in to comment.