Commit 1f14230d authored by Sergiy Byelozyorov's avatar Sergiy Byelozyorov Committed by Commit Bot

Bump timeout to upload files to Rietveld

BUG=668526

Change-Id: I8aa762e8836ddc4838baaca803de17f3ffcb1ad2
Reviewed-on: https://chromium-review.googlesource.com/414908Reviewed-by: 's avatarAndrii Shyshkalov <tandrii@chromium.org>
Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org>
parent b8c535f6
......@@ -132,6 +132,8 @@ for vcs in VCS:
VCS_SHORT_NAMES.append(min(vcs['aliases'], key=len))
VCS_ABBREVIATIONS.update((alias, vcs['name']) for alias in vcs['aliases'])
UPLOAD_TIMEOUT = 120
# The result of parsing Subversion's [auto-props] setting.
svn_auto_props_map = None
......@@ -1036,7 +1038,7 @@ class VersionControlSystem(object):
threads.append(t)
for t in threads:
print(t.get(timeout=60))
print(t.get(timeout=UPLOAD_TIMEOUT))
def IsImage(self, filename):
"""Returns true if the filename has an image extension."""
......@@ -2101,7 +2103,7 @@ def UploadSeparatePatches(issue, rpc_server, patchset, data, options):
threads.append(t)
for t in threads:
result = t.get(timeout=60)
result = t.get(timeout=UPLOAD_TIMEOUT)
print(result[0])
rv.append(result[1])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment