fixed lost changes

This commit is contained in:
Finn Stutzenstein 2020-08-19 15:25:35 +02:00
parent 251296f42f
commit 9ddf9ddb8c
No known key found for this signature in database
GPG Key ID: 9042F605C6324654
1 changed files with 4 additions and 0 deletions

View File

@ -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):