Skip to content

Commit 1fa3bd1

Browse files
authored
---
yaml --- r: 35297 b: refs/heads/pubsub-ordering-keys c: 8d7b28f h: refs/heads/master i: 35295: c530395
1 parent f1f3a8b commit 1fa3bd1

4 files changed

Lines changed: 1781 additions & 4 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ refs/tags/v0.72.0: a7703f2593ba312c0b2dde6fdfd4f5c764bb55ac
155155
refs/tags/v0.73.0: 21241ea8be9439cc5764c4944cdce21d34ce4f9e
156156
refs/tags/v0.74.0: 9d1f733dbbf790de7b494418523b69c4a9a57638
157157
refs/heads/ignoretest: 23c412ae07af3d0ab1caa2d44d5bc5c0ccb8b31d
158-
refs/heads/pubsub-ordering-keys: 32551b2fa80878e3a7a47f2b1f5fc784b69f2cdb
158+
refs/heads/pubsub-ordering-keys: 8d7b28f4ba1a80d67f511f11df9731d9a85e7cb7
159159
refs/tags/v0.75.0: c3673089ae09a897c1b4cf7dfe167fe4f8ab32fb
160160
refs/tags/v0.76.0: 395b016826d3ddf9cb8b34919636df15a4dbd032
161161
refs/tags/v0.77.0: 28a85a77883ccf5d48f297fd0ef3b3dca6ce01f0

branches/pubsub-ordering-keys/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/spi/v1/GapicSpannerRpc.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import com.google.api.core.NanoClock;
2323
import com.google.api.gax.core.CredentialsProvider;
2424
import com.google.api.gax.core.GaxProperties;
25-
import com.google.api.gax.core.InstantiatingExecutorProvider;
2625
import com.google.api.gax.grpc.GaxGrpcProperties;
2726
import com.google.api.gax.grpc.GrpcCallContext;
2827
import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider;
@@ -115,7 +114,6 @@
115114

116115
/** Implementation of Cloud Spanner remote calls using Gapic libraries. */
117116
public class GapicSpannerRpc implements SpannerRpc {
118-
119117
private static final PathTemplate PROJECT_NAME_TEMPLATE =
120118
PathTemplate.create("projects/{project}");
121119
private static final PathTemplate OPERATION_NAME_TEMPLATE =
@@ -190,7 +188,6 @@ public GapicSpannerRpc(SpannerOptions options) {
190188
options.getInterceptorProvider(),
191189
SpannerInterceptorProvider.createDefault()))
192190
.setHeaderProvider(mergedHeaderProvider)
193-
.setExecutorProvider(InstantiatingExecutorProvider.newBuilder().build())
194191
.build());
195192

196193
CredentialsProvider credentialsProvider =
@@ -582,6 +579,7 @@ private GrpcCallContext newCallContext(@Nullable Map<Option, ?> options, String
582579
return context.withStreamWaitTimeout(waitTimeout).withStreamIdleTimeout(idleTimeout);
583580
}
584581

582+
@Override
585583
public void shutdown() {
586584
this.spannerStub.close();
587585
this.instanceAdminStub.close();

0 commit comments

Comments
 (0)