Bug 1085557 - Bump symbol upload timeout to 120s. a=NPOTB
authorTed Mielczarek <ted@mielczarek.org>
Wed, 25 Mar 2015 07:49:05 -0400
changeset 325138 47d264aec8899a13c7e4ef2313f17c2ebd1fb04e
parent 325137 63675c56d3abc69a9e81507aa86f56d52cda8884
child 325139 94cc6dc1058daf85751bb50668720b25521b7611
push id9971
push userpaul@paul.cx
push dateMon, 25 Jan 2016 13:03:35 +0000
reviewersNPOTB
bugs1085557
milestone38.0.1esrpre
Bug 1085557 - Bump symbol upload timeout to 120s. a=NPOTB
toolkit/crashreporter/tools/upload_symbols.py
--- a/toolkit/crashreporter/tools/upload_symbols.py
+++ b/toolkit/crashreporter/tools/upload_symbols.py
@@ -46,17 +46,17 @@ def main():
     print('Uploading symbol file "{0}" to "{1}"...'.format(sys.argv[1], url))
 
     try:
         r = requests.post(
             url,
             files={'symbols.zip': open(sys.argv[1], 'rb')},
             headers={'Auth-Token': auth_token},
             allow_redirects=False,
-            timeout=60,
+            timeout=120,
         )
     except requests.exceptions.RequestException as e:
         print('Error: {0}'.format(e))
         return 1
 
     if r.status_code >= 200 and r.status_code < 300:
         print('Uploaded successfully!')
     elif r.status_code < 400: