Adjust koschei priority persistence and vacuum

This commit is contained in:
Michael Simacek 2016-11-16 17:29:14 +01:00
parent 3bd22be340
commit 0fb6fd7f04
2 changed files with 4 additions and 1 deletions

View file

@ -76,6 +76,9 @@ config = {
"memory_limit": 4 * 1024**3,
},
},
"priorities": {
"calculation_interval": 600, # seconds
},
"logging": {
"loggers": {
"": {

View file

@ -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