1
0
mirror of https://github.com/django/django.git synced 2025-10-25 06:36:07 +00:00

Refs #35859 -- Removed support for Task enqueuing on transaction commit.

This removes the ability to configure Task enqueueing via a setting,
since the proposed `ENQUEUE_ON_COMMIT` did not support multi-database
setups.

Thanks to Simon Charette for the report.

Follow-up to 4289966d1b.
This commit is contained in:
Jacob Walls
2025-09-17 09:19:25 -04:00
committed by nessita
parent 9334499f53
commit b931156c20
14 changed files with 29 additions and 348 deletions

View File

@@ -27,7 +27,6 @@ class CustomBackendNoEnqueue(BaseTaskBackend):
TASKS={
"default": {
"BACKEND": f"{CustomBackend.__module__}.{CustomBackend.__qualname__}",
"ENQUEUE_ON_COMMIT": False,
"OPTIONS": {"prefix": "PREFIX: "},
},
"no_enqueue": {