Benachrichtigungen fixen mit Redis

This commit is contained in:
Juhn-Vitus Saß
2025-04-22 12:21:47 +02:00
parent 881bc3d6c1
commit 2dc9a077ee
3 changed files with 40 additions and 8 deletions

View File

@@ -79,12 +79,16 @@ WSGI_APPLICATION = 'core.wsgi.application'
ASGI_APPLICATION = 'core.asgi.application'
CHANNEL_LAYERS = {
'default': {
'BACKEND': 'channels.layers.InMemoryChannelLayer'
}
"default": {
"BACKEND": "channels_redis.core.RedisChannelLayer",
"CONFIG": {
"hosts": [("127.0.0.1", 6379)],
},
},
}
# Database
# https://docs.djangoproject.com/en/5.1/ref/settings/#databases