If debug mode is enabled, also pass this setting on to django-q

This commit is contained in:
Trenton Holmes 2022-06-01 08:59:20 -07:00
parent d7654e978d
commit 50b24cec9a

View File

@ -464,6 +464,7 @@ Q_CLUSTER = {
"timeout": PAPERLESS_WORKER_TIMEOUT,
"workers": TASK_WORKERS,
"redis": os.getenv("PAPERLESS_REDIS", "redis://localhost:6379"),
"log_level": "DEBUG" if DEBUG else "INFO",
}