mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-15 10:13:15 -05:00
If debug mode is enabled, also pass this setting on to django-q
This commit is contained in:
parent
a4927477fb
commit
c0e05a7572
@ -464,6 +464,7 @@ Q_CLUSTER = {
|
|||||||
"timeout": PAPERLESS_WORKER_TIMEOUT,
|
"timeout": PAPERLESS_WORKER_TIMEOUT,
|
||||||
"workers": TASK_WORKERS,
|
"workers": TASK_WORKERS,
|
||||||
"redis": os.getenv("PAPERLESS_REDIS", "redis://localhost:6379"),
|
"redis": os.getenv("PAPERLESS_REDIS", "redis://localhost:6379"),
|
||||||
|
"log_level": "DEBUG" if DEBUG else "INFO",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user