Skip to content

Commit

Permalink
feat: Add read connection pool support
Browse files Browse the repository at this point in the history
  • Loading branch information
ovidiupopa07 committed Dec 14, 2023
1 parent a6f801d commit f35cb18
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ class SqlConfiguration {
properties.retries.transactions,
orcaSqlProperties.batchReadSize,
orcaSqlProperties.stageReadSize,
"",
interlink = interlink.orElse(null),
executionRepositoryListeners = executionRepositoryListeners
).let {
Expand Down Expand Up @@ -156,7 +155,6 @@ class SqlConfiguration {
@Bean
@ConditionalOnProperty("sql.external-lock.enabled")
fun lockProvider(datasource: DataSource): LockProvider {
ConnectionPools.READ.type
return JdbcTemplateLockProvider(datasource)
}
}

0 comments on commit f35cb18

Please sign in to comment.