mirror of
https://github.com/lutris/lutris
synced 2024-10-06 15:59:39 +00:00
Try out a bigger chunk size for the downloads
This commit is contained in:
parent
084b8018d9
commit
e2d68ca3b9
|
@ -138,7 +138,7 @@ class Downloader:
|
|||
response.raise_for_status()
|
||||
self.full_size = int(response.headers.get("Content-Length", "").strip() or 0)
|
||||
self.progress_event.set()
|
||||
for chunk in response.iter_content(chunk_size=1024):
|
||||
for chunk in response.iter_content(chunk_size=8192):
|
||||
if not self.file_pointer:
|
||||
break
|
||||
if chunk:
|
||||
|
|
Loading…
Reference in a new issue