

try:
    import asgi_redis
    BACKEND = "asgi_redis.RedisChannelLayer"
    CONFIG = {
        "hosts": [("localhost", 6379)],
    }
except ImportError:
    BACKEND = "asgiref.inmemory.ChannelLayer"
    CONFIG = {}

CHANNEL_LAYERS = {
    "default": {
        "BACKEND": BACKEND,
        "CONFIG": CONFIG,
        "ROUTING": "leonardo_channels.routes.channel_routing",
    },
}

fcf01f8f9200dbd5ca9cdfd30a6c0753f6e0b4e1
<mask token>

try:
    import asgi_redis
    BACKEND = 'asgi_redis.RedisChannelLayer'
    CONFIG = {'hosts': [('localhost', 6379)]}
except ImportError:
    BACKEND = 'asgiref.inmemory.ChannelLayer'
    CONFIG = {}
<mask token>

try:
    import asgi_redis
    BACKEND = 'asgi_redis.RedisChannelLayer'
    CONFIG = {'hosts': [('localhost', 6379)]}
except ImportError:
    BACKEND = 'asgiref.inmemory.ChannelLayer'
    CONFIG = {}
CHANNEL_LAYERS = {'default': {'BACKEND': BACKEND, 'CONFIG': CONFIG,
    'ROUTING': 'leonardo_channels.routes.channel_routing'}}



try:
    import asgi_redis
    BACKEND = "asgi_redis.RedisChannelLayer"
    CONFIG = {
        "hosts": [("localhost", 6379)],
    }
except ImportError:
    BACKEND = "asgiref.inmemory.ChannelLayer"
    CONFIG = {}

CHANNEL_LAYERS = {
    "default": {
        "BACKEND": BACKEND,
        "CONFIG": CONFIG,
        "ROUTING": "leonardo_channels.routes.channel_routing",
    },
}
