build: speed up windows download of external binaries (#17559)

This commit is contained in:
Samuel Attard 2019-03-26 18:22:54 -07:00 committed by Charles Kerr
parent 75b4db60cf
commit ec5e0ef06e

View file

@ -68,7 +68,7 @@ def download(text, url, path):
web_file = urllib2.urlopen(url)
file_size = int(web_file.info().getheaders("Content-Length")[0])
downloaded_size = 0
block_size = 128
block_size = 4096
ci = os.environ.get('CI') is not None