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

fix: change pool #1

Merged
merged 4 commits into from Feb 15, 2022
Merged

fix: change pool #1

merged 4 commits into from Feb 15, 2022

Conversation

bluemoon
Copy link
Owner

  • Add the pool as well to the middleware so that every single time we as for a pg_conn we get a new connection, in the case of needing the pool it has been added under pg_pool_conn
  • Include the PooledConnection as its thread safe, you can still dereference it and get a PgConnection or use impl Connection<Backend = Pg> in your database function

@bluemoon bluemoon merged commit 3fc16df into main Feb 15, 2022
@bluemoon bluemoon deleted the bradford-change-pool branch February 15, 2022 01:08
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

1 participant