Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

fix lost messages when queuing many files

jonaswinkler138f38d1f379
diff --git a/src/paperless/settings.py b/src/paperless/settings.py
index 56e91695e..5a3c206ed 100644
--- a/src/paperless/settings.py
+++ b/src/paperless/settings.py
@@ -160,6 +160,8 @@ CHANNEL_LAYERS = {
"BACKEND": "channels_redis.core.RedisChannelLayer",
"CONFIG": {
"hosts": [os.getenv("PAPERLESS_REDIS", "redis://localhost:6379")],
+ "capacity": 2000, # default 100
+ "expiry": 15, # default 60
},
},
}