From 12836d4c68b7738ccb4080e7012e363b2efcd385 Mon Sep 17 00:00:00 2001 From: jonaswinkler Date: Sat, 13 Feb 2021 20:25:52 +0100 Subject: [PATCH] revert django-q configuration --- docs/changelog.rst | 2 ++ src/paperless/settings.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 4c40a71ab..52b53dca8 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -14,6 +14,8 @@ paperless-ng 1.1.2 * Fixed an issue with the metadata tab not reporting anything in case of missing files. +* Reverted a change from 1.1.0 that caused huge memory usage due to redis caching. + paperless-ng 1.1.1 ################## diff --git a/src/paperless/settings.py b/src/paperless/settings.py index 150709bb1..718738f71 100644 --- a/src/paperless/settings.py +++ b/src/paperless/settings.py @@ -398,7 +398,7 @@ Q_CLUSTER = { 'name': 'paperless', 'catch_up': False, 'workers': TASK_WORKERS, - 'django_redis': 'default' + 'redis': os.getenv("PAPERLESS_REDIS", "redis://localhost:6379") }