[rails] Increase connection pool to total of threads (#8514)
Currently the connection pool size is set to the number of threads per
worker: 5. The database connection pool size should equal:
number_of_workers * threads_per_worker
Use the autotune script to get these values.
See also: https://devcenter.heroku.com/articles/deploying-rails-applications-with-the-puma-web-server#database-connections
Also set the MIN_WORKERS to 2, like all other Ruby frameworks.
Now when verifying only 3 workers get started instead of 15.