bigpresh/Dancer-Plugin-Database — Issue #24: Wishlist: hook "database_goneaway"
Author: knutov
Created: 2012-01-31 23:52:01+00:00
State: open

Wishlist:

1) add hook on case, when we have connection to DB, but later DB server gone away. For example because of physical network connection to DB server became broken. Typical reaction in this case should be (as I think) to show users everything is ok and nothing to worry about, "just refresh page ten minutes later".

ps: this should also work with "mysql_auto_reconnect: 1" but I'm not good enough with DBI and have no ideas how to do it.

2) add hook on any DB error. Error 500/503 is not always good for this.