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.
91
91
92
92
# Streams Management
93
93
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.
95
96
By default, the number of connections in the pool is min(4,GOMAXPROCS).
96
97
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.
98
99
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:
99
100
100
101
opts := []option.ClientOption{
You can’t perform that action at this time.
0 commit comments