From d50504fa2b88c121de41c54d2246943b2324a95a Mon Sep 17 00:00:00 2001 From: kaiyou Date: Fri, 23 Aug 2019 00:29:00 +0200 Subject: [PATCH] Only set the redis address once, fixes #1125 --- core/admin/mailu/configuration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/admin/mailu/configuration.py b/core/admin/mailu/configuration.py index 494f540a..39539b54 100644 --- a/core/admin/mailu/configuration.py +++ b/core/admin/mailu/configuration.py @@ -8,8 +8,8 @@ DEFAULT_CONFIG = { 'BABEL_DEFAULT_LOCALE': 'en', 'BABEL_DEFAULT_TIMEZONE': 'UTC', 'BOOTSTRAP_SERVE_LOCAL': True, - 'RATELIMIT_STORAGE_URL': 'redis://%s/2' % (os.getenv("REDIS_ADDRESS", "redis")), - 'QUOTA_STORAGE_URL': 'redis://%s/1' % (os.getenv("REDIS_ADDRESS", "redis")), + 'RATELIMIT_STORAGE_URL': '', + 'QUOTA_STORAGE_URL': '', 'DEBUG': False, 'DOMAIN_REGISTRATION': False, 'TEMPLATES_AUTO_RELOAD': True,