fixed channels_redis config and added missing dependency for it

This commit is contained in:
Jenny Danzmayr 2023-11-27 23:58:25 +01:00
parent fa4492cd2c
commit 1dcbddbba0
2 changed files with 2 additions and 1 deletions

View file

@ -335,7 +335,7 @@ if HAS_REDIS:
'default': {
'BACKEND': 'channels_redis.core.RedisChannelLayer',
'CONFIG': {
"hosts": [config.get('redis', 'location')],
"hosts": config.get('redis', 'location', env='C3NAV_REDIS').split(','),
},
},
}