Transactions #24
Closed
RealOrangeOne
started this conversation in
General
Replies: 1 comment
-
Implemented in #57 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The current backends don't explicitly interact with transactions.
DummyBackend
andImmediateBackend
don't touch it at all, andDatabaseBackend
can introduce race conditions if not running in a transaction, as the task may begin execution before the data is fully saved.There are lots of comments on the DEP (example) about this and understanding the semantics.
This will need working out, as there's a difference between how the built-in backends function, which could lead to odd bugs in production which unit tests wouldn't pick up.
Beta Was this translation helpful? Give feedback.
All reactions