Skip to content

Commit 4bb7d95

Browse files
authored
Merge pull request #163 from shanejbrown/increase-retries-on-archive-tar
Increase retry params for creating archive tar
2 parents ab27431 + 74e4a81 commit 4bb7d95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildrunner/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def add_artifact(self, artifact_file, properties):
227227
"""
228228
self.artifacts[artifact_file] = properties
229229

230-
@retry(exceptions=FileNotFoundError, tries=3, delay=1)
230+
@retry(exceptions=FileNotFoundError, tries=5, delay=1, backoff=3, max_delay=10)
231231
def _create_archive_tarfile(self, dir_to_add, _fileobj, filter_func):
232232
"""
233233
Create the tarfile with retries

0 commit comments

Comments
 (0)