From 09b9fd3b466103e8b3c1b6a39695f521b6b90789 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Tue, 18 Oct 2022 07:28:25 +0200 Subject: [PATCH] copr-be: limit the resources taken by pruner --- roles/copr/backend/templates/copr-be.conf.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/copr/backend/templates/copr-be.conf.j2 b/roles/copr/backend/templates/copr-be.conf.j2 index 92ed6ac8e6..fec96850fb 100644 --- a/roles/copr/backend/templates/copr-be.conf.j2 +++ b/roles/copr/backend/templates/copr-be.conf.j2 @@ -85,6 +85,9 @@ keygen_host={{ keygen_host }} # minimum age for builds to be pruned prune_days=14 +# the pool of pruning workers shouldn't waste all the resources +prune_workers=4 + aws_cloudfront_distribution={{ aws_cloudfront_distribution }} # logging settings