Files
fondex-store-service/config/conf/channels.py
Husanjonazamov 1c692b51b6 storage yaratildi
2026-03-13 20:17:06 +05:00

13 lines
266 B
Python

# 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))],
},
},
}