Skip to content

Commit

Permalink
Merge branch 'main' into generate-libraries-main
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeWang1127 committed Dec 13, 2024
2 parents 727fc92 + c2d5614 commit d25c1f9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ static UnitOfWorkType of(TransactionMode transactionMode) {
statementExecutorType =
options.isUseVirtualThreads()
? StatementExecutorType.VIRTUAL_THREAD
: StatementExecutorType.DIRECT_EXECUTOR;
: StatementExecutorType.PLATFORM_THREAD;
}
this.statementExecutor =
new StatementExecutor(statementExecutorType, options.getStatementExecutionInterceptors());
Expand Down Expand Up @@ -342,7 +342,7 @@ && getDialect() == Dialect.POSTGRESQL
new StatementExecutor(
options.isUseVirtualThreads()
? StatementExecutorType.VIRTUAL_THREAD
: StatementExecutorType.DIRECT_EXECUTOR,
: StatementExecutorType.PLATFORM_THREAD,
Collections.emptyList());
this.spannerPool = Preconditions.checkNotNull(spannerPool);
this.options = Preconditions.checkNotNull(options);
Expand Down

0 comments on commit d25c1f9

Please sign in to comment.