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 a4927477fb
commit c0e05a7572

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",
}