diff options
author | Adam Kocoloski <kocolosk@apache.org> | 2009-08-11 02:54:42 +0000 |
---|---|---|
committer | Adam Kocoloski <kocolosk@apache.org> | 2009-08-11 02:54:42 +0000 |
commit | 0a2bf6e5f691a7739f482e53ea329959ac81758d (patch) | |
tree | be00bc76547ff5521952b9330c46945167ee3f01 /src/couchdb | |
parent | f5c4dcd4366ace98378f26b3c67164befdb0d1d5 (diff) |
max chunk size of 4G, not 64k
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@802983 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb')
-rw-r--r-- | src/couchdb/couch_rep_writer.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_rep_writer.erl b/src/couchdb/couch_rep_writer.erl index 34d5f06c..d4f2fd31 100644 --- a/src/couchdb/couch_rep_writer.erl +++ b/src/couchdb/couch_rep_writer.erl @@ -22,7 +22,7 @@ start_link(Parent, Target, Reader, _PostProps) -> 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\":[">>), |