Skip to content
Snippets Groups Projects
Verified Commit 57c1300b authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Disable atomic requests

Retrospectively, there is no reasonto wrap every request in a
transaction of its own. Developer should actively consider isolation
in their code.

This came up while trying to figure out how to delay every Celery task
until commit, finding us monkey-patching amqp, and failing.
parent 7551d8e0
No related branches found
No related tags found
1 merge request!491Resolve "Make Celery non-optional"
......@@ -196,7 +196,6 @@ DATABASES = {
"PASSWORD": _settings.get("database.password", None),
"HOST": _settings.get("database.host", "127.0.0.1"),
"PORT": _settings.get("database.port", "5432"),
"ATOMIC_REQUESTS": True,
"CONN_MAX_AGE": _settings.get("database.conn_max_age", None),
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment