dragotin / kraft

Kraft helps to handle your daily quotes and invoices in your small business.
http://volle-kraft-voraus.de
GNU General Public License v2.0
56 stars 18 forks source link

Feature Request: MySQL reconnect after loss of connection. #183

Closed noseshimself closed 1 year ago

noseshimself commented 1 year ago

I noticed that Kraft is not reconnecting after losing its database connection nor is it gracefully shutting down.The only thing hinting at this problem are console messages (which are only visible if Kraft is launched from a terminal) and the fact that it is hanging "somehow". Reconnecting might be the better choice...

dragotin commented 1 year ago

Reference: https://dev.mysql.com/doc/c-api/8.0/en/c-api-auto-reconnect.html and https://bugreports.qt.io/browse/QTBUG-17140