Skip to content

Commit

Permalink
fix(doobie): remove autocommit config that has no effect (#397)
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Strnad <[email protected]>
  • Loading branch information
Honza Strnad and Jan Strnad authored Nov 27, 2020
1 parent 52b6f82 commit 277abad
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ final case class DoobieHikariConfig(
url: String,
username: String,
password: String,
autoCommit: Boolean = false,
connectionTimeout: FiniteDuration = FiniteDuration(30, TimeUnit.SECONDS),
idleTimeout: FiniteDuration = FiniteDuration(10, TimeUnit.MINUTES),
maxLifeTime: FiniteDuration = FiniteDuration(30, TimeUnit.MINUTES),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ object DoobieHikariModule {
c.setJdbcUrl(config.url)
c.setUsername(config.username)
c.setPassword(config.password)
c.setAutoCommit(config.autoCommit)
c.setConnectionTimeout(config.connectionTimeout.toMillis)
c.setIdleTimeout(config.idleTimeout.toMillis)
c.setMaxLifetime(config.maxLifeTime.toMillis)
Expand Down

0 comments on commit 277abad

Please sign in to comment.