From 263b8c954840622fac06a4211b1edfd644e9450c Mon Sep 17 00:00:00 2001 From: Greg Kempe Date: Mon, 16 Sep 2024 11:45:45 +0200 Subject: [PATCH] disable atomic requests the reasoning is that 99% of our requests are GETs which don't require atomic, and this is placing load on pgbouncer and psql. --- peachjam/settings.py | 1 - 1 file changed, 1 deletion(-) diff --git a/peachjam/settings.py b/peachjam/settings.py index cc2a761a4..842fe6abf 100644 --- a/peachjam/settings.py +++ b/peachjam/settings.py @@ -208,7 +208,6 @@ gazette_db_config = dj_database_url.config( default=gazette_db_url, env="GAZETTES_DATABASE_URL" ) -default_db_config["ATOMIC_REQUESTS"] = True DATABASES = { "default": default_db_config,