Increate download chunk size of 256k (#657)

With 8k the download status if updated way faster than is
necessary.
This commit is contained in:
Sam Clegg
2020-11-25 13:41:59 -08:00
committed by GitHub
parent 372fb50124
commit aa5fedfe29

View File

@@ -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: