From 10c94d4ba60147777eed5a9c4860497d5d82dbb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20NO=C3=8BL?= Date: Wed, 6 Apr 2022 10:46:29 +0200 Subject: [PATCH] debian/uwsgi: use unique-cron (#63619) --- debian/uwsgi.ini | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/debian/uwsgi.ini b/debian/uwsgi.ini index a6c0948f..6823be80 100644 --- a/debian/uwsgi.ini +++ b/debian/uwsgi.ini @@ -18,17 +18,17 @@ 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 +unique-cron = -5 -1 -1 -1 -1 /usr/bin/passerelle-manage tenant_command cron --all-tenants availability +unique-cron = -5 -1 -1 -1 -1 /usr/bin/passerelle-manage tenant_command cron --all-tenants jobs # hourly -cron = 1 -1 -1 -1 -1 /usr/bin/passerelle-manage tenant_command clearsessions --all-tenants -cron = 17 -1 -1 -1 -1 /usr/bin/passerelle-manage tenant_command cron --all-tenants hourly +unique-cron = 1 -1 -1 -1 -1 /usr/bin/passerelle-manage tenant_command clearsessions --all-tenants +unique-cron = 17 -1 -1 -1 -1 /usr/bin/passerelle-manage tenant_command cron --all-tenants hourly # daily -cron = 25 1 -1 -1 -1 /usr/bin/passerelle-manage tenant_command cron --all-tenants daily +unique-cron = 25 1 -1 -1 -1 /usr/bin/passerelle-manage tenant_command cron --all-tenants daily # weekly -cron = 47 2 -1 -1 7 /usr/bin/passerelle-manage tenant_command cron --all-tenants weekly +unique-cron = 47 2 -1 -1 7 /usr/bin/passerelle-manage tenant_command cron --all-tenants weekly # monthly -cron = 52 3 1 -1 -1 /usr/bin/passerelle-manage tenant_command cron --all-tenants monthly +unique-cron = 52 3 1 -1 -1 /usr/bin/passerelle-manage tenant_command cron --all-tenants monthly master = true enable-threads = true