Skip to content

Commit

Permalink
tweak to postgres client
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddenton committed Apr 8, 2024
1 parent 03e3944 commit 1a89176
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ class PostgresDatabase : Database {
user = "benchmarkdbuser"
password = "benchmarkdbpass"
}
client(connectOptions, PoolOptions().apply {
maxSize = 8 + Runtime.getRuntime().availableProcessors()
})
client(connectOptions, PoolOptions().apply { maxSize = 64 })
}

private val random = Random()
Expand Down

0 comments on commit 1a89176

Please sign in to comment.