From 138f38d1f379a405b63b36cab9f8d8b7d8458746 Mon Sep 17 00:00:00 2001 From: jonaswinkler Date: Thu, 4 Feb 2021 23:32:11 +0100 Subject: [PATCH] fix lost messages when queuing many files --- src/paperless/settings.py | 2 ++ 1 file changed, 2 insertions(+) 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 }, }, }