blog comments 0 del.icio.us bookmarks 0 diggs 0 Google results 0

3.4
PostRank

What's New in Edge Rails: Connection Pools

From Ryan's Scraps - Blog, 2 months ago, 3 views

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

comments

No comments yet.

You must be logged in to add your own comment.