Increate download chunk size of 256k (#657)
With 8k the download status if updated way faster than is necessary.
This commit is contained in:
2
emsdk.py
2
emsdk.py
@@ -694,7 +694,7 @@ def download_file(url, dstpath, download_even_if_exists=False, filename_prefix='
|
||||
# Draw a progress bar 80 chars wide (in non-TTY mode)
|
||||
progress_max = 80 - 4
|
||||
progress_shown = 0
|
||||
block_sz = 8192
|
||||
block_sz = 256 * 1024
|
||||
if not TTY_OUTPUT:
|
||||
print(' [', end='')
|
||||
while True:
|
||||
|
||||
Reference in New Issue
Block a user