Skip to content

Commit

Permalink
doc: fix incorrect connection pool documentation (#6450)
Browse files Browse the repository at this point in the history
  • Loading branch information
hongalex committed Jul 30, 2022
1 parent 59ca4bc commit 4a5b244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pubsub/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ pull method.
Streams Management
Streams used for streaming pull are managed by the gRPC connection pool setting.
By default, the number of connections in the pool is max(4,GOMAXPROCS/NumCPU).
By default, the number of connections in the pool is min(4,GOMAXPROCS).
If you have 4 or more CPU cores, the default setting allows 400 streams which is still a good default for most cases.
If you want to have more open streams (such as for low CPU core machines), you should pass in the grpc option as described below:
Expand Down

0 comments on commit 4a5b244

Please sign in to comment.