Recycle sql engine pool (mysql wait_disconnect)
Recycle sql engine pool (mysql wait_disconnect)

Mysql automatically disconnect connections after a certain time of idling (default 8 hours) thus we need to set pool_recycle for the mysqlalchemy engine to a lower value. Otherwise we get an exception about missing database connection.

daniel-falk/python-mqtt-occupancy