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 database connction pool reference handling #67

Merged
merged 5 commits into from
Sep 21, 2023

Conversation

codemation
Copy link
Owner

@codemation codemation commented Sep 21, 2023

everted to connection_map usage, removing connection map timeout as race conditions can cause unexpected connection termination. connection_map remains vital for allowing connections within async tasks. Tasks are not able to share connection pools, and thus need the ability to generate their own pool for use

  • adding optional echo argument to allow easier printing of sql commands issued by pydbanitc

Joshua (codemation) added 5 commits September 22, 2023 01:23
…hared, individual execute / fetch operations start a database.connection() context manager to acquire connection from pool
…race conditions can cause unexpected connection termination
@codemation codemation merged commit 8fee22e into main Sep 21, 2023
12 checks passed
@codemation codemation deleted the fix-database-connction-pool-reference-handling-rb branch September 21, 2023 23:34
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.

1 participant