diff --git a/authentik/root/settings.py b/authentik/root/settings.py index df2e0dc33..99d0b0f6f 100644 --- a/authentik/root/settings.py +++ b/authentik/root/settings.py @@ -265,8 +265,6 @@ DATABASES = { "USER": CONFIG.y("postgresql.user"), "PASSWORD": CONFIG.y("postgresql.password"), "PORT": int(CONFIG.y("postgresql.port")), - "CONN_MAX_AGE": 300, - "ATOMIC_REQUESTS": True, } } diff --git a/tests/e2e/test_provider_proxy.py b/tests/e2e/test_provider_proxy.py index 3f00ee88e..467d1349b 100644 --- a/tests/e2e/test_provider_proxy.py +++ b/tests/e2e/test_provider_proxy.py @@ -86,6 +86,7 @@ class TestProviderProxy(SeleniumTestCase): ) outpost.providers.add(proxy) outpost.save() + _ = outpost.user self.proxy_container = self.start_proxy(outpost) @@ -145,6 +146,7 @@ class TestProviderProxyConnect(ChannelsLiveServerTestCase): ) outpost.providers.add(proxy) outpost.save() + _ = outpost.user # Wait until outpost healthcheck succeeds healthcheck_retries = 0