Skip to content

Commit

Permalink
release idle connections
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrebruninmaif committed Jan 3, 2024
1 parent 0151d0c commit 4b1a378
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/fr/maif/automate/MainVerticle.kt
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ class MainVerticle : AbstractVerticle() {
Some("initial_pool_size" to 1),
Some("min_pool_size" to 1),
Some("max_pool_size" to pgConfig.maxPoolSize),
Some("max_idle_time" to 30),
pgConfig.username.map { "username" to it },
pgConfig.password.map { "password" to it }
).flatMap { it.toList() }
Expand Down

0 comments on commit 4b1a378

Please sign in to comment.