Skip to content

Commit

Permalink
make transactor fields private vals
Browse files Browse the repository at this point in the history
  • Loading branch information
KaranAhlawat committed Jan 20, 2025
1 parent 538588c commit 0361313
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import javax.sql.DataSource
import scala.util.control.NonFatal

class Transactor[F[_]: Sync] private (
dataSource: DataSource,
sqlLogger: SqlLogger,
connectionConfig: Connection => Unit,
rateLimiter: Option[Resource[F, Unit]]
private val dataSource: DataSource,
private val sqlLogger: SqlLogger,
private val connectionConfig: Connection => Unit,
private val rateLimiter: Option[Resource[F, Unit]]
):
private val makeConn = Resource.make(acquireConnection)(releaseConnection)

Expand Down

0 comments on commit 0361313

Please sign in to comment.