mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 17:47:08 +01:00
Make Worker Timeout Configurable (#37)
* Make Worker Timeout Configurable - defaults to 1800 seconds - can be configured through environment for systems with weaker CPUs - description added to documentation Co-authored-by: evilsidekick <>
This commit is contained in:
parent
b469937d4d
commit
5f58a329d3
2 changed files with 7 additions and 1 deletions
|
|
@ -423,7 +423,7 @@ Q_CLUSTER = {
|
|||
'catch_up': False,
|
||||
'recycle': 1,
|
||||
'retry': 1800,
|
||||
'timeout': 1800,
|
||||
'timeout': int(os.getenv("PAPERLESS_WORKER_TIMEOUT", 1800)),
|
||||
'workers': TASK_WORKERS,
|
||||
'redis': os.getenv("PAPERLESS_REDIS", "redis://localhost:6379")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue