mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-11 00:57:09 +01:00
If debug mode is enabled, also pass this setting on to django-q
This commit is contained in:
parent
a4927477fb
commit
c0e05a7572
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue