first commit
This commit is contained in:
12
config/conf/channels.py
Normal file
12
config/conf/channels.py
Normal file
@@ -0,0 +1,12 @@
|
||||
# type: ignore
|
||||
from config.env import env
|
||||
|
||||
CHANNEL_LAYERS = {
|
||||
"default": {
|
||||
"BACKEND": "channels_redis.core.RedisChannelLayer",
|
||||
"CONFIG": {
|
||||
"hosts": [(env.str("REDIS_HOST", "redis"), env.int("REDIS_PORT", 6379))],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user