-
Notifications
You must be signed in to change notification settings - Fork 259
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: incorrect concurrent usage of connection and transaction #546
Merged
Commits on Apr 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 90c33da - Browse repository at this point
Copy the full SHA 90c33daView commit details -
Configuration menu - View commit details
-
Copy full SHA for bea6629 - Browse repository at this point
Copy the full SHA bea6629View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9e3464 - Browse repository at this point
Copy the full SHA c9e3464View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3078aa - Browse repository at this point
Copy the full SHA f3078aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 75969d3 - Browse repository at this point
Copy the full SHA 75969d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cd7451 - Browse repository at this point
Copy the full SHA 4cd7451View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4c95a7 - Browse repository at this point
Copy the full SHA e4c95a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a38e135 - Browse repository at this point
Copy the full SHA a38e135View commit details -
Configuration menu - View commit details
-
Copy full SHA for 460f72e - Browse repository at this point
Copy the full SHA 460f72eView commit details
Commits on Apr 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2d4554d - Browse repository at this point
Copy the full SHA 2d4554dView commit details
Commits on Apr 17, 2023
-
Merge remote-tracking branch 'madkinsz/example/instance-safe' into fi…
…x-transaction-contextvar
Configuration menu - View commit details
-
Copy full SHA for 16403c3 - Browse repository at this point
Copy the full SHA 16403c3View commit details
Commits on Apr 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8370299 - Browse repository at this point
Copy the full SHA 8370299View commit details
Commits on May 24, 2023
-
test: add new tests for upcoming contextvar inheritance/isolation and…
… weakref cleanup
Configuration menu - View commit details
-
Copy full SHA for 1d4896f - Browse repository at this point
Copy the full SHA 1d4896fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02a9acb - Browse repository at this point
Copy the full SHA 02a9acbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f93807 - Browse repository at this point
Copy the full SHA 0f93807View commit details -
Configuration menu - View commit details
-
Copy full SHA for f091482 - Browse repository at this point
Copy the full SHA f091482View commit details
Commits on May 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6fb55a5 - Browse repository at this point
Copy the full SHA 6fb55a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6de4f60 - Browse repository at this point
Copy the full SHA 6de4f60View commit details
Commits on May 26, 2023
-
fix: remove connection inheritance, add more tests, update docs
Connections are once again stored as state on the Database instance, keyed by the current asyncio.Task. Each task acquires it's own connection, and a WeakKeyDictionary allows the connection to be discarded if the owning task is garbage collected. TransactionBackends are still stored as contextvars, and a connection must be explicitly provided to descendant tasks if active transaction state is to be inherited.
Configuration menu - View commit details
-
Copy full SHA for b94f097 - Browse repository at this point
Copy the full SHA b94f097View commit details
Commits on Jul 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0a9e9e5 - Browse repository at this point
Copy the full SHA 0a9e9e5View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.