mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-20 12:36:53 +00:00
Unlock channels_redis and implement the workaround from the issue to use pub/sub instead
This commit is contained in:
1 parent
4bd1974911
commit
e0d5fd9290
3 files changed
+245
-316
No files matched your search
@@ -358,7 +358,7 @@ TEMPLATES = [
|
||||
|
||||
CHANNEL_LAYERS = {
|
||||
"default": {
|
||||
"BACKEND": "channels_redis.core.RedisChannelLayer",
|
||||
"BACKEND": "channels_redis.pubsub.RedisPubSubChannelLayer",
|
||||
"CONFIG": {
|
||||
"hosts": [_CHANNELS_REDIS_URL],
|
||||
"capacity": 2000, # default 100
|
||||
|
||||
Reference in new issue
Block a user