From a592ace46737d8263e02bd7ceee0ace3bcff6ea4 Mon Sep 17 00:00:00 2001 From: Jakub Kadlcik Date: Thu, 5 Sep 2024 15:12:30 +0200 Subject: [PATCH] rpmbuild: increase the custom method timeout to 90 minutes Fix #3384 --- rpmbuild/copr_rpmbuild/providers/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpmbuild/copr_rpmbuild/providers/custom.py b/rpmbuild/copr_rpmbuild/providers/custom.py index 77ae8db96..ce5469a62 100644 --- a/rpmbuild/copr_rpmbuild/providers/custom.py +++ b/rpmbuild/copr_rpmbuild/providers/custom.py @@ -29,7 +29,7 @@ def init_provider(self): self.inner_resultdir = source_json.get('resultdir') self.builddeps = source_json.get('builddeps') self.repos = self.task.get('repos') - self.timeout = source_json.get("timeout", 3600) + self.timeout = source_json.get("timeout", 60 * 90) if 'hook_data' in source_json: self.hook_payload_url = "{server}/tmp/{tmp}/hook_payload".format(