I suggest using a monitoring tool like monit or god to watch your database server external to your application. Really, when the database isn't reachable, you want some loud alarm bells going off and these tools monitor, restart (if you desire) and send you emails that services are down. Better, IMHO than trying to do something similar within the app itself, esp. for web services.
Michael On Mon, Dec 28, 2009 at 11:47 AM, Iñaki Baz Castillo <[email protected]> wrote: > El Lunes, 28 de Diciembre de 2009, Jeremy Evans escribió: >> As you can see, it's a problem with the ruby-mysql driver. > > It also occurs with the postgress 'pg' driver :( > Annoying... > > > -- > Iñaki Baz Castillo <[email protected]> > > -- > > You received this message because you are subscribed to the Google Groups > "sequel-talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/sequel-talk?hl=en. > > > -- http://codeconnoisseur.org -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
