mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-05 03:38:12 +08:00
Retry communication with PDC on RuntimeError exception and increase the timeout to 120 seconds
This commit is contained in:
@@ -193,7 +193,7 @@ def wait(config, session, msg):
|
||||
'release': module_info['version'],
|
||||
}
|
||||
|
||||
@module_build_service.utils.retry(interval=10, timeout=30, wait_on=ValueError)
|
||||
@module_build_service.utils.retry(interval=10, timeout=120, wait_on=(ValueError, RuntimeError))
|
||||
def _get_deps_and_tag():
|
||||
log.info("Getting %s deps from pdc (query %r)" % (module_info['name'], pdc_query))
|
||||
dependencies = module_build_service.pdc.get_module_build_dependencies(
|
||||
|
||||
Reference in New Issue
Block a user