Skip to content

Commit da00e69

Browse files
abhinav-qlogicsduskis
authored andcommitted
---
yaml --- r: 29653 b: refs/heads/autosynth-monitoring c: 9d9404b h: refs/heads/master i: 29651: b4522a3
1 parent a5bdbee commit da00e69

3 files changed

Lines changed: 11 additions & 6 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ refs/tags/v0.66.0: ed6a3f57cbdaa20339a1995f7d7d53b172a5b8ef
113113
refs/tags/v0.67.0: 30b56f02092efc6f3c3667650ea8b8825003e0b7
114114
refs/heads/autosynth-compute: c0ad4e5b54b2b167d47e508ca215c039404837d3
115115
refs/heads/autosynth-container: e9a9a8564756e20770320ed54eafa867040a7690
116-
refs/heads/autosynth-monitoring: b2dc157752bd9421852da50d941557bf72cd935e
116+
refs/heads/autosynth-monitoring: 9d9404b35b673a885e270b39b8c441d35c5bdadd
117117
refs/heads/autosynth-pubsub: 8aac5a6202d83e8d67f5cb1d58f0adf9f2622aeb
118118
refs/heads/autosynth-video-intelligence: 82b145665822830c46d47eb8925edb2d842d6815
119119
refs/heads/autosynth-vision: 01ef61bcef344ceee0198f56f18bc1db20201261

branches/autosynth-monitoring/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FirestoreImpl.java

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import com.google.cloud.firestore.spi.v1.FirestoreRpc;
3030
import com.google.common.base.Preconditions;
3131
import com.google.common.collect.ImmutableMap;
32+
import com.google.common.util.concurrent.MoreExecutors;
3233
import com.google.firestore.v1.BatchGetDocumentsRequest;
3334
import com.google.firestore.v1.BatchGetDocumentsResponse;
3435
import com.google.firestore.v1.DatabaseRootName;
@@ -339,9 +340,11 @@ public void onSuccess(List<WriteResult> writeResults) {
339340
span.end();
340341
resultFuture.set(userResult);
341342
}
342-
});
343+
},
344+
MoreExecutors.directExecutor());
343345
}
344-
});
346+
},
347+
MoreExecutors.directExecutor());
345348
}
346349

347350
private SettableApiFuture<T> invokeUserCallback() {
@@ -396,12 +399,14 @@ public void onFailure(Throwable throwable) {
396399
public void onSuccess(Void ignored) {
397400
resultFuture.setException(throwable);
398401
}
399-
});
402+
},
403+
MoreExecutors.directExecutor());
400404
} else {
401405
resultFuture.setException(throwable);
402406
}
403407
}
404-
});
408+
},
409+
MoreExecutors.directExecutor());
405410
}
406411

407412
/** Returns whether the user has opted into receiving dates as com.google.cloud.Timestamp. */

branches/autosynth-monitoring/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/spi/v1/GrpcFirestoreRpc.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public GrpcFirestoreRpc(final FirestoreOptions options) throws IOException {
8585
|| NoCredentials.getInstance().equals(options.getCredentials())) {
8686
ManagedChannel managedChannel =
8787
ManagedChannelBuilder.forTarget(options.getHost())
88-
.usePlaintext(true)
88+
.usePlaintext()
8989
.executor(executor)
9090
.build();
9191
TransportChannel transportChannel = GrpcTransportChannel.create(managedChannel);

0 commit comments

Comments
 (0)