File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -648,8 +648,9 @@ func WithResolvers(rs ...resolver.Builder) DialOption {
648648 })
649649}
650650
651- // WithSharedRecvBufferPool returns a DialOption that specifies shared buffer pool
652- // for parsing. Setting this will reduce the memory allocation in the parser.
651+ // WithSharedRecvBufferPool returns a DialOption that configures the ClientConn
652+ // to use the provided shared buffer pool for parsing incoming messages. Depending
653+ // on the application's workload, this could result in reduced memory allocation.
653654//
654655// # Experimental
655656//
Original file line number Diff line number Diff line change @@ -554,8 +554,9 @@ func NumStreamWorkers(numServerWorkers uint32) ServerOption {
554554 })
555555}
556556
557- // SharedRecvBufferPool returns a DialOption that specifies shared buffer pool
558- // for parsing. Setting this will reduce the memory allocation in the parser.
557+ // SharedRecvBufferPool returns a ServerOption that configures the server
558+ // to use the provided shared buffer pool for parsing incoming messages. Depending
559+ // on the application's workload, this could result in reduced memory allocation.
559560//
560561// # Experimental
561562//
You can’t perform that action at this time.
0 commit comments