Bug 1234289 - antivirus should sleep longer between retry exceptions, NPOTB DONTBUILD r=rail

This commit is contained in:
Jordan Lund 2015-12-21 21:30:46 -08:00
parent 7886cc6275
commit 563e7c94aa

View File

@ -155,7 +155,7 @@ class AntivirusScan(BaseScript, VirtualenvMixin):
key = bucket.get_key(source)
return retry(key.get_contents_to_filename,
args=(destination, ),
sleeptime=5, max_sleeptime=60,
sleeptime=30, max_sleeptime=150,
retry_exceptions=(S3CopyError, S3ResponseError,
IOError, HTTPException))