Skip to content

Commit 0ae3209

Browse files
committed
changing chunksize to 16 kb
1 parent 85135f7 commit 0ae3209

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/pathmapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def trim_listing(obj):
146146
def downloadHttpFile(httpurl):
147147
r = requests.get(httpurl, stream=True)
148148
with NamedTemporaryFile(mode='wb', delete=False) as f:
149-
for chunk in r.iter_content(chunk_size=1024):
149+
for chunk in r.iter_content(chunk_size=16384):
150150
if chunk: # filter out keep-alive new chunks
151151
f.write(chunk)
152152
r.close()

0 commit comments

Comments
 (0)