A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Fix: Celery chords by using Redis as our result backend (#12741)
Trenton Hf985f7db51cb
diff --git a/src/paperless/settings/__init__.py b/src/paperless/settings/__init__.pyindex db57173cd..d82694dd8 100644--- a/src/paperless/settings/__init__.py+++ b/src/paperless/settings/__init__.py@@ -650,6 +650,11 @@ logging.config.dictConfig(LOGGING)# https://docs.celeryq.dev/en/stable/userguide/configuration.htmlCELERY_BROKER_URL = _CELERY_REDIS_URL+CELERY_RESULT_BACKEND = _CELERY_REDIS_URL+CELERY_RESULT_SERIALIZER = "signed-pickle"+# Results are only needed for chord synchronization+# a short TTL avoids Redis memory accumulation.+CELERY_RESULT_EXPIRES = 3600CELERY_TIMEZONE = TIME_ZONECELERY_WORKER_HIJACK_ROOT_LOGGER = False