summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlav Vitters <olav@vitters.nl>2014-09-03 21:03:37 +0200
committerOlav Vitters <olav@vitters.nl>2014-09-03 21:03:37 +0200
commitd8a0044ea8042c292bc04ee018fa6a045f89ab83 (patch)
treeaaf7fa9ea0e37fa12e4aa183fa27f799d47c9202
parent05b4834842c712b5f4b4c55ec866f54eb08de287 (diff)
downloadmgagnome-d8a0044ea8042c292bc04ee018fa6a045f89ab83.tar
mgagnome-d8a0044ea8042c292bc04ee018fa6a045f89ab83.tar.gz
mgagnome-d8a0044ea8042c292bc04ee018fa6a045f89ab83.tar.bz2
mgagnome-d8a0044ea8042c292bc04ee018fa6a045f89ab83.tar.xz
mgagnome-d8a0044ea8042c292bc04ee018fa6a045f89ab83.zip
retry submission for longer period
-rwxr-xr-xmgagnome3
1 files changed, 1 insertions, 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: