Database connection pool size in legacy Play 2.3 app #12330
-
I have recently had problems with database connections in a Play 2.3 app, getting
errors from getConnection(). So I thought to increase the connection pool size and found this in the documentation:
But, I cannot find any information about the default values, so it is hard to know if I actually do increase pool size if I add these parameters to configuration. Is there any way to find the default settings? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
For Play 2.3: |
Beta Was this translation helpful? Give feedback.
For Play 2.3:
https://github.com/playframework/playframework/blob/2.3.x/framework/src/play-jdbc/src/main/scala/play/api/db/DB.scala#L378
Starting with Play 2.4 you find all the default configs in various
reference.conf
files, e.g. in your case:https://github.com/playframework/playframework/blob/2.4.x/framework/src/play-jdbc/src/main/resources/reference.conf