From 8cdf22fc94df16f414e9eb74914f83e7f9c7dc31 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 12 Dec 2021 20:24:43 +0100 Subject: [PATCH] root: set default redis iter to 1000 Signed-off-by: Jens Langhammer --- authentik/root/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/authentik/root/settings.py b/authentik/root/settings.py index b2a063052..e1bd798ea 100644 --- a/authentik/root/settings.py +++ b/authentik/root/settings.py @@ -232,6 +232,7 @@ CACHES = { "OPTIONS": {"CLIENT_CLASS": "django_redis.client.DefaultClient"}, } } +DJANGO_REDIS_SCAN_ITERSIZE = 1000 DJANGO_REDIS_IGNORE_EXCEPTIONS = True DJANGO_REDIS_LOG_IGNORED_EXCEPTIONS = True SESSION_ENGINE = "django.contrib.sessions.backends.cache"