HikariConfig
This commit is contained in:
@@ -31,8 +31,8 @@ fun Module.configureDIInfrastructure(config: Configuration) {
|
|||||||
jdbcUrl = config.postgresql.url
|
jdbcUrl = config.postgresql.url
|
||||||
username = config.postgresql.username
|
username = config.postgresql.username
|
||||||
password = config.postgresql.password
|
password = config.postgresql.password
|
||||||
maximumPoolSize = 50
|
maximumPoolSize = 10
|
||||||
minimumIdle = 20
|
minimumIdle = 10
|
||||||
}.let {
|
}.let {
|
||||||
HikariDataSource(it)
|
HikariDataSource(it)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user