mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-02-13 18:15:00 +08:00
Set the timeout on Koji sessions to 10 minutes
This commit is contained in:
@@ -258,6 +258,8 @@ chmod 644 %buildroot/%_sysconfdir/rpm/macros.zz-modules
|
||||
profile_name=config.koji_profile,
|
||||
user_config=config.koji_config,
|
||||
))
|
||||
# Timeout after 10 minutes. The default is 12 hours.
|
||||
koji_config["timeout"] = 60 * 10
|
||||
|
||||
# In "production" scenarios, our service principal may be blessed to
|
||||
# allow us to authenticate as the owner of this request. But, in local
|
||||
|
||||
@@ -66,6 +66,8 @@ def create_local_repo_from_koji_tag(config, tag, repo_dir, archs=None):
|
||||
profile_name=config.koji_profile,
|
||||
user_config=config.koji_config,
|
||||
))
|
||||
# Timeout after 10 minutes. The default is 12 hours.
|
||||
koji_config["timeout"] = 60 * 10
|
||||
|
||||
address = koji_config.server
|
||||
log.info("Connecting to koji %r" % address)
|
||||
|
||||
Reference in New Issue
Block a user