mirror of
https://github.com/django/django.git
synced 2025-10-26 07:06:08 +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:
@@ -29,11 +29,9 @@ from . import tasks as test_tasks
|
||||
"default": {
|
||||
"BACKEND": "django.tasks.backends.dummy.DummyBackend",
|
||||
"QUEUES": ["default", "queue_1"],
|
||||
"ENQUEUE_ON_COMMIT": False,
|
||||
},
|
||||
"immediate": {
|
||||
"BACKEND": "django.tasks.backends.immediate.ImmediateBackend",
|
||||
"ENQUEUE_ON_COMMIT": False,
|
||||
"QUEUES": [],
|
||||
},
|
||||
"missing": {"BACKEND": "does.not.exist"},
|
||||
|
||||
Reference in New Issue
Block a user