Skip to content
loading...

re: Flask and SQLAlchemy without the Flask-SQLAlchemy Extension VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Thank you for the kind comment! It's possible I am mistaken, but I believe using engine.dispose() in this way isn't a good idea. It appears to comp...
 

Thanks for the information! We used to ran into the problem of the connection being killed before (I suspected this is the database killing inactive connections but this should be already handled by the connection pool) and the workaround is to create a new connection every time, even if it adds overhead.

code of conduct - report abuse