👷 Increased chunk size of the downloader.

This commit is contained in:
Robert Honz
2024-06-16 14:08:12 +02:00
parent 2dd2067f0d
commit ff8d688382
+1 -1
View File
@@ -125,7 +125,7 @@ class Download:
# Get file size and compute progress steps
total_size_in_bytes: int = int(r.headers.get("content-length", 0))
block_size: int | None = 4096
block_size: int | None = 1048576
progress_total: float = total_size_in_bytes / block_size
else:
raise ValueError