Skip to content

Commit 3137547

Browse files
committed
Reduce download refeshes from 100 to 5
Signed-off-by: Lukas Heumos <[email protected]>
1 parent 6a97036 commit 3137547

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pertpy/data/_dataloader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def _download( # pragma: no cover
5151
response = requests.get(url, stream=True)
5252
total = int(response.headers.get("content-length", 0))
5353

54-
with Progress(refresh_per_second=100) as progress:
54+
with Progress(refresh_per_second=5) as progress:
5555
task = progress.add_task("[red]Downloading...", total=total)
5656
with Path(temp_file_name).open("wb") as file:
5757
for data in response.iter_content(block_size):

0 commit comments

Comments
 (0)