Navigation Menu

Skip to content

Commit

Permalink
Use 4096 * 2 for chunk size
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 4, 2014
1 parent d67fca7 commit 8d831a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -39,7 +39,7 @@ def download(url, output_path)
open(url, options) do |input|
output_path.open("wb") do |output|
chunk = ""
chunk_size = 8012
chunk_size = 8192
while input.read(chunk_size, chunk)
output.print(chunk)
end
Expand Down

0 comments on commit 8d831a6

Please sign in to comment.