From 9ddf9ddb8cd633ca49b8110ae76bcc7d8abb6b85 Mon Sep 17 00:00:00 2001 From: Finn Stutzenstein Date: Wed, 19 Aug 2020 15:25:35 +0200 Subject: [PATCH] fixed lost changes --- server/openslides/utils/redis_connection_pool.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/openslides/utils/redis_connection_pool.py b/server/openslides/utils/redis_connection_pool.py index 6366a33ff..51e8a2e88 100644 --- a/server/openslides/utils/redis_connection_pool.py +++ b/server/openslides/utils/redis_connection_pool.py @@ -5,8 +5,12 @@ import aioredis from channels_redis.core import ConnectionPool as ChannelRedisConnectionPool from django.conf import settings +from . import logging + +logger = logging.getLogger(__name__) connection_pool_limit = getattr(settings, "CONNECTION_POOL_LIMIT", 100) +logger.info(f"CONNECTION_POOL_LIMIT={connection_pool_limit}") class InvalidConnection(Exception):