diff --git a/roles/koschei/backend/templates/config-backend.cfg.j2 b/roles/koschei/backend/templates/config-backend.cfg.j2 index ed48dd3e56..479d2c1935 100644 --- a/roles/koschei/backend/templates/config-backend.cfg.j2 +++ b/roles/koschei/backend/templates/config-backend.cfg.j2 @@ -76,6 +76,9 @@ config = { "memory_limit": 4 * 1024**3, }, }, + "priorities": { + "calculation_interval": 600, # seconds + }, "logging": { "loggers": { "": { diff --git a/roles/koschei/backend/templates/cron-db-cleanup.j2 b/roles/koschei/backend/templates/cron-db-cleanup.j2 index d5238a9af1..6a870363fe 100644 --- a/roles/koschei/backend/templates/cron-db-cleanup.j2 +++ b/roles/koschei/backend/templates/cron-db-cleanup.j2 @@ -2,4 +2,4 @@ SHELL=/bin/bash MAILTO=sysadmin-koschei-members@fedoraproject.org 0 3 * * * koschei koschei-admin cleanup --older-than 6 >/dev/null #0 4,10,16,22 * * * koschei psql -h {{ koschei_pgsql_hostname }} -d koschei -U koscheiadmin <<< 'VACUUM ANALYZE package; VACUUM FULL ANALYZE package;' -*/15 * * * * koschei psql -h {{ koschei_pgsql_hostname }} -d koschei -U koscheiadmin <<< 'VACUUM ANALYZE package' >/dev/null +*/5 * * * * koschei psql -h {{ koschei_pgsql_hostname }} -d koschei -U koscheiadmin <<< 'VACUUM ANALYZE package' >/dev/null