Skip to content

Commit aaf2e4a

Browse files
committed
chore(spanner): enable env
1 parent febeb30 commit aaf2e4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google-cloud-spanner/src/main/java/com/google/cloud/spanner/SessionPoolOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ private static Boolean parseBooleanEnvVariable(String variableName) {
390390
private static Boolean getUseMultiplexedSessionForRWFromEnvVariable() {
391391
// Checks the value of env, GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS_FOR_RW
392392
// This returns null until RW is supported.
393-
return null;
393+
return parseBooleanEnvVariable("GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS_FOR_RW");
394394
}
395395

396396
Duration getMultiplexedSessionMaintenanceDuration() {

0 commit comments

Comments
 (0)