fixed lost changes
This commit is contained in:
parent
251296f42f
commit
9ddf9ddb8c
@ -5,8 +5,12 @@ import aioredis
|
|||||||
from channels_redis.core import ConnectionPool as ChannelRedisConnectionPool
|
from channels_redis.core import ConnectionPool as ChannelRedisConnectionPool
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
|
||||||
|
from . import logging
|
||||||
|
|
||||||
|
|
||||||
|
logger = logging.getLogger(__name__)
|
||||||
connection_pool_limit = getattr(settings, "CONNECTION_POOL_LIMIT", 100)
|
connection_pool_limit = getattr(settings, "CONNECTION_POOL_LIMIT", 100)
|
||||||
|
logger.info(f"CONNECTION_POOL_LIMIT={connection_pool_limit}")
|
||||||
|
|
||||||
|
|
||||||
class InvalidConnection(Exception):
|
class InvalidConnection(Exception):
|
||||||
|
Loading…
Reference in New Issue
Block a user