Re: [sqlalchemy] Exceeding the queue pool limit in a Flask application problem

2023-04-28 Thread Nishant Varma
See if this helps: https://docs.sqlalchemy.org/en/20/orm/session_basics.html#session-faq-whentocreate and https://docs.sqlalchemy.org/en/20/orm/contextual.html Session should be closed correctly etc. On Fri, Apr 28, 2023, 10:18 PM Erabil Erabil wrote: > When using SQL Alchemy in a Flask

[sqlalchemy] Exceeding the queue pool limit in a Flask application problem

2023-04-28 Thread Erabil Erabil
When using SQL Alchemy in a Flask application, if the application continuously sends queries to the database, it exceeds the maximum number of connections in the connection pool. How can I solve this issue? *sqlalchemy_engine.py* import os from sqlalchemy import create_engine from