Adjust koschei priority persistence and vacuum
This commit is contained in:
parent
3bd22be340
commit
0fb6fd7f04
2 changed files with 4 additions and 1 deletions
|
@ -76,6 +76,9 @@ config = {
|
|||
"memory_limit": 4 * 1024**3,
|
||||
},
|
||||
},
|
||||
"priorities": {
|
||||
"calculation_interval": 600, # seconds
|
||||
},
|
||||
"logging": {
|
||||
"loggers": {
|
||||
"": {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue