Skip to content

Commit adebddc

Browse files
committed
chore: Clarify code comment to differentiate theoretical max and expected max
1 parent f64c7b1 commit adebddc

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

java-datastore/google-cloud-datastore/src/main/java/com/google/cloud/datastore/DatastoreOptions.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@ public class DatastoreOptions extends ServiceOptions<Datastore, DatastoreOptions
5555
public static final String LOCAL_HOST_ENV_VAR = "DATASTORE_EMULATOR_HOST";
5656

5757
// Default to a slightly larger channel count to handle a larger initial QPS. The initial
58-
// configuration should be able to handle a max of ~500 QPS as each gRPC channel can handle
59-
// 100 max streams (limited by Google Middleware). This default relies on the ChannelPool
58+
// configuration should be able to handle a max of ~500 concurrent streams as each gRPC
59+
// channel can handle a max of 100 streams (limited by Google Middleware). The initial
60+
// configuration aims to have a max of ~250 concurrent streams and will rely on the ChannelPool
6061
// to resize according to the client's average load.
6162
public static final int INIT_CHANNEL_COUNT = 5;
6263
// Default to be larger than Gax's default (2) to better scale with spikes in requests

0 commit comments

Comments
 (0)