emanchado / narrows

Online storytelling system
http://hardcorenarrativist.org/narrows/
BSD 3-Clause "New" or "Revised" License
113 stars 7 forks source link

Database connections are not reset when the database disconnects temporarily #6

Closed tessgadwa closed 7 years ago

tessgadwa commented 7 years ago

Upon successful login to a Narrows instance, previously saved stories failed to load.

screen shot 2017-07-30 at 5 13 43 pm screen shot 2017-07-30 at 5 13 03 pm

emanchado commented 7 years ago

Does it happen still? If it doesn't, I think I know what the problem is (the code is not resetting the connection when the database goes down and up again, eg. after a database upgrade).

tessgadwa commented 7 years ago

Everything's back, thanks.

On Jul 31, 2017 1:19 AM, "Esteban Manchado Velázquez" < notifications@github.com> wrote:

Does it happen still? If it doesn't, I think I know what the problem is (the code is not resetting the connection when the database goes down and up again, eg. after a database upgrade).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/emanchado/narrows/issues/6#issuecomment-318970267, or mute the thread https://github.com/notifications/unsubscribe-auth/AGLNGzQe_lSBJUk0H56M8sg34Di69Slhks5sTWPQgaJpZM4OnwGx .

emanchado commented 7 years ago

I think I have a solution for it. I'm testing a bit more locally, then I'll push the code. Thanks again for the report!