in reply to Dancer app losing DB connection
Actually, database connections can drop for any reason ... inactivity, server restarts, sunspots ...
So, what you need to be prepared to do, in your code, is to check the connection and to re-establish it at any time that you find it to have dropped. This is true for any presistent server of any sort.
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Dancer app losing DB connection
by jeromek (Novice) on Aug 16, 2014 at 01:27 UTC | |
by locked_user sundialsvc4 (Abbot) on Aug 16, 2014 at 11:23 UTC |