Skip to content

Commit 2003ad4

Browse files
committed
chore(spanner): directly invoke run
1 parent d5a7e0c commit 2003ad4

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

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

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -506,13 +506,12 @@ public void run() {
506506
opSpan.end();
507507

508508
// Retry the commit RPC with the latest precommit token from CommitResponse.
509-
MoreExecutors.directExecutor()
510-
.execute(
511-
new CommitRunnable(
512-
res,
513-
prev,
514-
requestBuilder,
515-
/* retryAttemptDueToCommitProtocolExtension = */ true));
509+
new CommitRunnable(
510+
res,
511+
prev,
512+
requestBuilder,
513+
/* retryAttemptDueToCommitProtocolExtension = */ true)
514+
.run();
516515

517516
// Exit to prevent further processing in this attempt.
518517
return;

0 commit comments

Comments
 (0)