mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
build: speed up windows download of external binaries (#17559)
This commit is contained in:
committed by
Charles Kerr
parent
75b4db60cf
commit
ec5e0ef06e
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user