mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 00:05:21 +01:00
release worker memory after tasks are done.
This commit is contained in:
parent
12836d4c68
commit
43c729568b
1 changed files with 1 additions and 0 deletions
|
|
@ -397,6 +397,7 @@ TASK_WORKERS = int(os.getenv("PAPERLESS_TASK_WORKERS", default_task_workers()))
|
||||||
Q_CLUSTER = {
|
Q_CLUSTER = {
|
||||||
'name': 'paperless',
|
'name': 'paperless',
|
||||||
'catch_up': False,
|
'catch_up': False,
|
||||||
|
'recycle': 1,
|
||||||
'workers': TASK_WORKERS,
|
'workers': TASK_WORKERS,
|
||||||
'redis': os.getenv("PAPERLESS_REDIS", "redis://localhost:6379")
|
'redis': os.getenv("PAPERLESS_REDIS", "redis://localhost:6379")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue