There’s a separate database I’m using to get mail group info for our
users (Sympa), and I’ve got Rails configured to pull data directly
from it via an entry in database.yml
The issue we’re having is that the database server in question is
behind an internal firewall that has idle timeouts set at 30 minutes.
If the connection isn’t used (like, say, overnight), the firewall
kills it. But Rails thinks it’s still open! Not so good.
Any ideas on how I can check for that and work around it?
This is also a point in my favor for caching the data locally and
updating it every so often. That would be “live enough” for me, but
not for others.