We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, we are using create_engine from sqlmodel on many places (just search for create_engine in PMAT and PMA), however, according to docs:
create_engine
sqlmodel
> You should normally have a single engine object for your whole application and re-use it everywhere.
The problem we started to see is that Postgres is erroring out, because too many connections are open.
I did a quick fix here, hopefully it will help, but this issue is still good to be implemented.
The text was updated successfully, but these errors were encountered:
gabrielfior
Successfully merging a pull request may close this issue.
Currently, we are using
create_engine
fromsqlmodel
on many places (just search forcreate_engine
in PMAT and PMA), however, according to docs:> You should normally have a single engine object for your whole application and re-use it everywhere.
The problem we started to see is that Postgres is erroring out, because too many connections are open.
I did a quick fix here, hopefully it will help, but this issue is still good to be implemented.
The text was updated successfully, but these errors were encountered: