With the upcoming thread-safety of Rails comes the necessity of database connection pools. While less a feature and more a hidden implementation detail, you do have the ability to adjust the default size of these new pools. In your database.yml configuration file just set the pool key:
1 2 3 4 5 |
development:
adapter: mysql
username: root
database: myapp_dev
pool: 10 |
So there ya go – connection pools. That was easy…
tags: ruby, rubyonrails
No comments yet.
You must be logged in to add your own comment.