Skip to content

Commit 883bf46

Browse files
committed
chore(spanner): use default constant values in documentation
1 parent 16049b3 commit 883bf46

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

java-spanner/google-cloud-spanner/src/main/java/com/google/cloud/spanner/connection/ConnectionProperties.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,8 @@ public class ConnectionProperties {
515515
DCP_MIN_RPC_PER_CHANNEL_PROPERTY_NAME,
516516
"The minimum number of desired RPCs per channel in the dynamic channel pool. Only used when "
517517
+ "enableDynamicChannelPool is true. The default is "
518-
+ "SpannerOptions.DEFAULT_DYNAMIC_POOL_MIN_RPC (15).",
518+
+ DEFAULT_DCP_MIN_RPC_PER_CHANNEL
519+
+ ".",
519520
DEFAULT_DCP_MIN_RPC_PER_CHANNEL,
520521
NonNegativeIntegerConverter.INSTANCE,
521522
Context.STARTUP);
@@ -524,7 +525,8 @@ public class ConnectionProperties {
524525
DCP_MAX_RPC_PER_CHANNEL_PROPERTY_NAME,
525526
"The maximum number of desired RPCs per channel in the dynamic channel pool. Only used when "
526527
+ "enableDynamicChannelPool is true. The default is "
527-
+ "SpannerOptions.DEFAULT_DYNAMIC_POOL_MAX_RPC (90).",
528+
+ DEFAULT_DCP_MAX_RPC_PER_CHANNEL
529+
+ ".",
528530
DEFAULT_DCP_MAX_RPC_PER_CHANNEL,
529531
NonNegativeIntegerConverter.INSTANCE,
530532
Context.STARTUP);

0 commit comments

Comments
 (0)