Skip to content

Commit

Permalink
chore: generate libraries at Mon Jan 6 17:00:47 UTC 2025
Browse files Browse the repository at this point in the history
  • Loading branch information
cloud-java-bot committed Jan 6, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 1823e70 commit be1a15b
Showing 1 changed file with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -470,19 +470,19 @@ public void run() {
// Those result sets will trigger initiateProduceRows() when the first results are received.
// Non-streaming result sets do not trigger this callback, and for those result sets, we
// need to eagerly start the ProduceRowsRunnable.
// synchronized (monitor) {
// if (state == State.STREAMING_IN_PROGRESS
// || state == State.RUNNING
// || state == State.CONSUMING) {
// return;
// }
// if (state == State.STREAMING_INITIALIZED) {
// state = State.STREAMING_IN_PROGRESS;
// }
if (!initiateStreaming(AsyncResultSetImpl.this)) {
initiateProduceRows();
}
// }
// synchronized (monitor) {
// if (state == State.STREAMING_IN_PROGRESS
// || state == State.RUNNING
// || state == State.CONSUMING) {
// return;
// }
// if (state == State.STREAMING_INITIALIZED) {
// state = State.STREAMING_IN_PROGRESS;
// }
if (!initiateStreaming(AsyncResultSetImpl.this)) {
initiateProduceRows();
}
// }
} catch (Throwable exception) {
executionException = SpannerExceptionFactory.asSpannerException(exception);
initiateProduceRows();

0 comments on commit be1a15b

Please sign in to comment.