mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
release worker memory after tasks are done.
This commit is contained in:
parent
12836d4c68
commit
43c729568b
@ -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…
x
Reference in New Issue
Block a user