couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kocol...@apache.org
Subject svn commit: r802983 - /couchdb/trunk/src/couchdb/couch_rep_writer.erl
Date Tue, 11 Aug 2009 02:54:42 GMT
Author: kocolosk
Date: Tue Aug 11 02:54:42 2009
New Revision: 802983

URL: http://svn.apache.org/viewvc?rev=802983&view=rev
Log:
max chunk size of 4G, not 64k

Modified:
    couchdb/trunk/src/couchdb/couch_rep_writer.erl

Modified: couchdb/trunk/src/couchdb/couch_rep_writer.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_rep_writer.erl?rev=802983&r1=802982&r2=802983&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_rep_writer.erl (original)
+++ couchdb/trunk/src/couchdb/couch_rep_writer.erl Tue Aug 11 02:54:42 2009
@@ -22,7 +22,7 @@
 make_chunk(Data) when is_list(Data) ->
     make_chunk(list_to_binary(Data));
 make_chunk(Data) ->
-    [ibrowse_lib:dec2hex(4, size(Data)), "\r\n", Data, "\r\n"].
+    [ibrowse_lib:dec2hex(8, size(Data)), "\r\n", Data, "\r\n"].
 
 upload_docs({start, Docs}) ->
     Data = make_chunk(<<"{\"new_edits\":false, \"docs\":[">>),



Mime
View raw message