From d8a0044ea8042c292bc04ee018fa6a045f89ab83 Mon Sep 17 00:00:00 2001 From: Olav Vitters Date: Wed, 3 Sep 2014 21:03:37 +0200 Subject: retry submission for longer period --- mgagnome | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mgagnome b/mgagnome index 8c65176..e2cf54a 100755 --- a/mgagnome +++ b/mgagnome @@ -1520,8 +1520,7 @@ def cmd_package_new_version(options, parser): cmd.extend(('--define', 'section=core/updates_testing', '-t', Downstream.DISTRO)) # retry submission various times, could be that some dependencies are being built at the same time - # this uses exponential backoff, so 5min, 10min, 20min ==> 25min after initial failure - @retry(subprocess.CalledProcessError, tries=4, delay=300) + @retry(subprocess.CalledProcessError, tries=10, delay=300, backoff=1.5) def _submit(): subprocess.check_call(cmd, cwd=cwd) _submit() except subprocess.CalledProcessError: -- cgit v1.2.1