From 41092d35f9303d39b2bc54e341562469120614d7 Mon Sep 17 00:00:00 2001 From: David Galloway Date: Thu, 3 Oct 2019 11:38:44 -0400 Subject: [PATCH] uWSGI: Run minutely jobs hourly instead Fixes: https://github.com/maxking/docker-mailman/issues/327 Signed-off-by: David Galloway --- web/mailman-web/uwsgi.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/mailman-web/uwsgi.ini b/web/mailman-web/uwsgi.ini index 0c68723..a744b7e 100644 --- a/web/mailman-web/uwsgi.ini +++ b/web/mailman-web/uwsgi.ini @@ -24,7 +24,9 @@ gid = mailman attach-daemon = ./manage.py qcluster # Setup hyperkitty's cron jobs. -unique-cron = -1 -1 -1 -1 -1 ./manage.py runjobs minutely +# 'minutely' jobs are run hourly for perf reasons. +# See https://github.com/maxking/docker-mailman/issues/327 +unique-cron = 0 -1 -1 -1 -1 ./manage.py runjobs minutely unique-cron = -15 -1 -1 -1 -1 ./manage.py runjobs quarter_hourly unique-cron = 0 -1 -1 -1 -1 ./manage.py runjobs hourly unique-cron = 0 0 -1 -1 -1 ./manage.py runjobs daily