#137 ✓resolved
gokulnathonline (at gmail)

Adhearsion remote db connection issues

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

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 ?

Comments and changes to this ticket

  • Ben Klang

    Ben Klang February 15th, 2012 @ 11:33 AM

    • 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.

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Pages