Skip to content

Commit d56c573

Browse files
chore(spanner): Release Multiplexed session for Partitioned Ops.
1 parent 7c78ec9 commit d56c573

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,9 +370,7 @@ private static Boolean getUseMultiplexedSessionFromEnvVariable() {
370370
@VisibleForTesting
371371
@InternalApi
372372
protected static Boolean getUseMultiplexedSessionFromEnvVariablePartitionedOps() {
373-
// Checks the value of env, GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS_PARTITIONED_OPS
374-
// This returns null until Partitioned Operations is supported.
375-
return null;
373+
return parseBooleanEnvVariable("GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS_PARTITIONED_OPS");
376374
}
377375

378376
private static Boolean parseBooleanEnvVariable(String variableName) {

0 commit comments

Comments
 (0)