From 7c091bf5734b0a88730118ed7a8ce94dc3a770a2 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sat, 17 Sep 2022 12:27:12 +0200 Subject: [PATCH] Fix auto-updater requests --- .github/workflows/updater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/updater.py b/.github/workflows/updater.py index b9317fd..b655132 100755 --- a/.github/workflows/updater.py +++ b/.github/workflows/updater.py @@ -57,7 +57,7 @@ def generate_src_files(repo: str, release: Any): def sha256sum_of_url(url: str) -> str: """Compute checksum without saving the file""" checksum = hashlib.sha256() - for chunk in requests.get(url, stream=True).iter_content(): + for chunk in requests.get(url, stream=True).iter_content(10*1024): checksum.update(chunk) return checksum.hexdigest()