From f249666b15f76cabb30fdc34deab22721bd9275d Mon Sep 17 00:00:00 2001 From: Mathieu Comandon Date: Tue, 27 Oct 2020 02:40:26 -0700 Subject: [PATCH] Do a very small chunk instead --- lutris/util/downloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lutris/util/downloader.py b/lutris/util/downloader.py index ef06a4255..b1a5e00ad 100644 --- a/lutris/util/downloader.py +++ b/lutris/util/downloader.py @@ -119,7 +119,7 @@ class Downloader: logger.info("%s returned a %s error", self.url, response.status_code) response.raise_for_status() self.full_size = int(response.headers.get("Content-Length", "").strip() or 0) - for chunk in response.iter_content(chunk_size=8 * 1024 * 1024): + for chunk in response.iter_content(chunk_size=1024): if not self.file_pointer: break if chunk: