diff options
author | Olav Vitters <olav@vitters.nl> | 2014-09-03 21:03:37 +0200 |
---|---|---|
committer | Olav Vitters <olav@vitters.nl> | 2014-09-03 21:03:37 +0200 |
commit | d8a0044ea8042c292bc04ee018fa6a045f89ab83 (patch) | |
tree | aaf7fa9ea0e37fa12e4aa183fa27f799d47c9202 | |
parent | 05b4834842c712b5f4b4c55ec866f54eb08de287 (diff) | |
download | mgagnome-d8a0044ea8042c292bc04ee018fa6a045f89ab83.tar mgagnome-d8a0044ea8042c292bc04ee018fa6a045f89ab83.tar.gz mgagnome-d8a0044ea8042c292bc04ee018fa6a045f89ab83.tar.bz2 mgagnome-d8a0044ea8042c292bc04ee018fa6a045f89ab83.tar.xz mgagnome-d8a0044ea8042c292bc04ee018fa6a045f89ab83.zip |
retry submission for longer period
-rwxr-xr-x | mgagnome | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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: |