When something goes wrong with the database and the DB Queue starts piling up, it would be nice if the app would check the db connection periodically to see if there is a connection, if not then wait a period of time and try again. Right now it seems like if a db request gets stuck.. it doesn't matter if the db is available again, after a restart of the db, etc.. once it's stuck, it's just stuck. So seems like there should be a better way.
When something goes wrong with the database and the DB Queue starts piling up, it would be nice if the app would check the db connection periodically to see if there is a connection, if not then wait a period of time and try again. Right now it seems like if a db request gets stuck.. it doesn't matter if the db is available again, after a restart of the db, etc.. once it's stuck, it's just stuck. So seems like there should be a better way.