On Nov 7, 2007 9:33 PM, Ezra Zygmuntowicz <[EMAIL PROTECTED]> wrote:
>
>
>         The way that I have put this issue to bed for people is with this
> crunchy little hack in their environment.rb:
>
> Thread.new { loop { sleep 60*60
> ActiveRecord::Base.verify_active_connections! } }.priority = -10
>
>         That little baby will keep your database connected.
>

Hey Ezra, this 60*60 big sleep wouldn't hurt threading? so far big
sleepy threads didn't work as expected for me.

That could be another cross-platform misbehaving, but just asking :-)

Regards,

-- 
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi
_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to