Skip to content
New issue

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

Change psycopg dependencies #107

Merged
merged 5 commits into from
Jul 21, 2022

Conversation

chandr-andr
Copy link
Contributor

Hello!
I found out that in the case of using psycopg dependency in a view, a situation is possible when the connection is allocated, but not used.

For example, if we need to execute a request for some third-party service before requesting the database.

Therefore, I suggest not taking the connection in dependency, but return the connection pool so that it is necessary to explicitly occupy the connection when it is needed

@s3rius s3rius mentioned this pull request Jul 20, 2022
2 tasks
@s3rius s3rius merged commit 5f9011a into s3rius:release/3.3.8 Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants