Dynamically adjust database pool

https://devcenter.heroku.com/articles/concurrency-and-database-connections