[Groonga-commit] droonga/wikipedia-search at 8d831a6 [master] Use 4096 * 2 for chunk size

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Apr 4 11:37:09 JST 2014


Kouhei Sutou	2014-04-04 11:37:09 +0900 (Fri, 04 Apr 2014)

  New Revision: 8d831a62157d3a66c91e15fe49016c7f1a05e2ce
  https://github.com/droonga/wikipedia-search/commit/8d831a62157d3a66c91e15fe49016c7f1a05e2ce

  Message:
    Use 4096 * 2 for chunk size

  Modified files:
    Rakefile

  Modified: Rakefile (+1 -1)
===================================================================
--- Rakefile    2014-04-04 11:36:55 +0900 (469f866)
+++ Rakefile    2014-04-04 11:37:09 +0900 (b83975a)
@@ -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
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index