postgresql - Play framework configuration for connection limit 60 of postgreql on heroku -
i have set 3 play 2.1.1 application (api, admin panel , website) on heroku postgresql database. out of these api , admin panel accessing database. postgresql package have set consists of following configurations:
connection limit : 60 row limit : unlimited ram : 410 mb
i have following configurations in play application database in both api & admin panel:
db.default.url=database_url db.default.partitioncount=1 db.default.maxconnectionsperpartition=10 db.default.minconnectionsperpartition=5 db.default.driver="org.postgresql.driver" db.default.idlemaxage=10 minutes db.default.idleconnectiontestperiod=30 seconds db.default.connectiontimeout=20 second db.default.connectionteststatement="select 1" db.default.maxconnectionage=30 minutes
i getting timeout exception connecting database of bonecp. want verify if above configurations right can debug in right way. please me same. thank you.
heroku close connections after 30 seconds maxconnectionage has lower 30s
Comments
Post a Comment