Skip to content

Commit

Permalink
rpc_util: add limitation comment for the shared buffer pool
Browse files Browse the repository at this point in the history
  • Loading branch information
hueypark committed Apr 19, 2023
1 parent 7f6fdb2 commit ca9f6de
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dialoptions.go
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,10 @@ func WithResolvers(rs ...resolver.Builder) DialOption {
// If you are unsure about how to implement a memory pool but want to utilize one,
// begin with grpc.NewSimpleSharedBufferPool.
//
// Note: The shared buffer pool feature will not be active if any of the following
// options are used: WithStatsHandler, EnableTracing, or binary logging. In such
// cases, the shared buffer pool will be ignored.
//
// # Experimental
//
// Notice: This API is EXPERIMENTAL and may be changed or removed in a
Expand Down
4 changes: 4 additions & 0 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,10 @@ func NumStreamWorkers(numServerWorkers uint32) ServerOption {
// If you are unsure about how to implement a memory pool but want to utilize one,
// begin with grpc.NewSimpleSharedBufferPool.
//
// Note: The shared buffer pool feature will not be active if any of the following
// options are used: StatsHandler, EnableTracing, or binary logging. In such
// cases, the shared buffer pool will be ignored.
//
// # Experimental
//
// Notice: This API is EXPERIMENTAL and may be changed or removed in a
Expand Down

0 comments on commit ca9f6de

Please sign in to comment.