File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -91,10 +91,11 @@ pull method.
9191
9292# Streams Management
9393
94- Streams used for streaming pull are managed by the gRPC connection pool setting.
94+ Streams used for streaming pull are configured by setting sub.ReceiveSettings.NumGoroutines.
95+ However, the total number of streams possible is capped by the gRPC connection pool setting.
9596By default, the number of connections in the pool is min(4,GOMAXPROCS).
9697
97- If you have 4 or more CPU cores, the default setting allows 400 streams which is still a good default for most cases.
98+ If you have 4 or more CPU cores, the default setting allows a maximum of 400 streams which is still a good default for most cases.
9899If you want to have more open streams (such as for low CPU core machines), you should pass in the grpc option as described below:
99100
100101 opts := []option.ClientOption{
You can’t perform that action at this time.
0 commit comments