We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5a93926 + a37340e commit 276bcebCopy full SHA for 276bceb
1 file changed
kbcstorage/jobs.py
@@ -116,6 +116,7 @@ def block_until_completed(self, job_id):
116
job = self.detail(job_id)
117
if job['status'] in ('error', 'success'):
118
return job
119
+ retries += 1
120
time.sleep(min(2 ** retries, 20))
121
122
def block_for_success(self, job_id):
0 commit comments