From 3a60f8c94a5e6ada95aec1e8fe6a17215a90741f Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 19 Jun 2019 16:41:29 +0000 Subject: [PATCH] koji_hub: set dist repos to expire only after 6 months This is to prevent kojira from removing less active dist repos under us. Signed-off-by: Kevin Fenzi --- roles/koji_hub/templates/kojira.conf.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/koji_hub/templates/kojira.conf.j2 b/roles/koji_hub/templates/kojira.conf.j2 index 214fad3651..a035c69184 100644 --- a/roles/koji_hub/templates/kojira.conf.j2 +++ b/roles/koji_hub/templates/kojira.conf.j2 @@ -32,3 +32,8 @@ repo_tasks_limit=15 ; Server certificate authority krb_rdns=false serverca = /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem + +;how soon (in seconds) to clean up dist repositories. +;we want this super long so we don't delete latest repos +;just set this to 6 months for now. +dist_repo_lifetime = 7257600