uwsgi: recycling spooler after 20 tasks (#52266)

This commit is contained in:
Thomas NOËL 2021-03-19 23:55:29 +01:00
parent b3e0753bb8
commit a726e09fe1
1 changed files with 2 additions and 0 deletions

2
debian/uwsgi.ini vendored
View File

@ -14,6 +14,8 @@ vacuum = true
spooler-processes = 3
spooler-python-import = passerelle.utils.spooler
spooler-max-tasks = 20
# every five minutes
cron = -5 -1 -1 -1 -1 /usr/bin/passerelle-manage tenant_command cron --all-tenants availability
cron = -5 -1 -1 -1 -1 /usr/bin/passerelle-manage tenant_command cron --all-tenants jobs