Nick Hebner
Nick Hebner
Yes, rails will check out a new connection when you do any ActiveRecord operations that need to go to the db. I ran it last night quickly. Not with heavy...
Agreed. This is a deal breaker for me. I am currently using faye which uses a single thread running an EventMachine Reactor to handle all IO, so just one db...
I agree that it is nice that connections are checked out automatically, but I don't think jacking up max db connections is a great solution. Since we already have points...
Yep, but why don't we just do this for the user when we know they are done?
I believe this is due to running background threads with rails auto-reload enabled. I was getting similar errors, and learned about the problem from this blog post: http://bibwild.wordpress.com/2011/11/14/multi-threading-in-rails-activerecord-3-0-3-1/ (see the...