Skip to content

Commit

Permalink
fix: change memory size to donwload files
Browse files Browse the repository at this point in the history
  • Loading branch information
HideBa committed Feb 24, 2024
1 parent ce94544 commit 32815e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ahn_cli/fetcher/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def req(
delete=False, mode="w+b", suffix=".laz"
) as temp_file:
for chunk in tqdm(
res.iter_content(chunk_size=1024 * 1024),
res.iter_content(chunk_size=500 * 1024 * 1024),
desc="writing a file",
):
temp_file.write(chunk)
Expand Down

0 comments on commit 32815e6

Please sign in to comment.