Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Adhearsion remote db connection issues

#137

Helllo,
My adhearsion app hangs regularly, It
- uses remote database - last error message is regarding mysql connection loss. - remote db in different network. Does adhearsion verifies connections in all attempts ?

Reported by gokulnathonline (at gmail) · December 8th, 2011 @ 04:28 AM

State: resolved
Milestone: none
Assigned to: nobody

Activity

  1. Ben Klang
    Ben Klang
    • State changed from new to resolved

    Adhearsion does verify ActiveRecord connections at the start of each new call, but does not re-verify connections during the course of a call. It also does not verify the connection within events as this would be too much overhead.

    If you have a long-running call or need to use AR models in events, you should add your own code to verify database connectivity, or rescue the appropriate exceptions and retry. This will be addressed in Adhearsion 2.

    February 15th, 2012 @ 11:33 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.