Ruby on Rails Monday, January 3, 2011

On Jan 3, 3:59 pm, Michael Baldock <li...@ruby-forum.com> wrote:
> Cool, learning plenty here, cheers!
>
> I've got a logger method in the class now, and so taken away the
> unnecessary inheritance. Cheers!
>
> My heroku app is working for now, although I'm not sure it'll stay
> working, it seems to stop fetching events after a day, and needs a new
> git push, with changes to specifically the "def do_search(event_search)"
> method which is the one that does the work of getting the url, and
> parsing the html. A bit weird, as it works every time on local machine.
> I've asked them about this on the heroku mailing list as well.

If your daemon is idle for extended periods of time it might be your
mysql connection timing out. You could try tossing in a call to
ActiveRecord::Base.connection_pool.verify_active_connections! to weed
out dead connections

Fred
>
> Thanks for your help!
>
> M
>
> --
> Posted viahttp://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment