allow setting task_avail_delay in kojid.conf
This commit is contained in:
parent
c3b7c815cb
commit
586e23f228
1 changed files with 3 additions and 1 deletions
|
|
@ -5829,6 +5829,7 @@ def get_options():
|
|||
'failed_buildroot_lifetime': 3600 * 4,
|
||||
'rpmbuild_timeout': 3600 * 24,
|
||||
'oz_install_timeout': 0,
|
||||
'task_avail_delay': 300,
|
||||
'cert': None,
|
||||
'ca': '', # FIXME: Unused, remove in next major release
|
||||
'serverca': None}
|
||||
|
|
@ -5836,7 +5837,8 @@ def get_options():
|
|||
for name, value in config.items('kojid'):
|
||||
if name in ['sleeptime', 'maxjobs', 'minspace', 'retry_interval',
|
||||
'max_retries', 'offline_retry_interval', 'failed_buildroot_lifetime',
|
||||
'timeout', 'rpmbuild_timeout', 'oz_install_timeout']:
|
||||
'timeout', 'rpmbuild_timeout', 'oz_install_timeout',
|
||||
'task_avail_delay']:
|
||||
try:
|
||||
defaults[name] = int(value)
|
||||
except ValueError:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue