incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sho Fukamachi <sho.fukama...@gmail.com>
Subject Re: mochiweb document size limit still 1MB
Date Sat, 15 Nov 2008 05:23:56 GMT
Adam,

Oh man, when did that change? I've been setting it manually this whole  
time!

Well, thanks for telling me anyway : )

Sho



On 15/11/2008, at 3:10 PM, Adam Kocoloski wrote:

> Hi Sho, but CouchDB doesn't use that default; it relies on  
> mochiweb_request:recv_body/1 and sets a MAX_DOC_SIZE of 4 GB.  See  
> couch_httpd:body/1 and :json_body/1.  Regards,
>
> Adam
>
> On Nov 14, 2008, at 10:20 PM, Sho Fukamachi wrote:
>
>> Hey CouchDB devs,
>>
>> The maximum body size (in mochiweb) for a doc upload is still 1MB  
>> in trunk.
>>
>> in /trunk/src/mochiweb/mochiweb_request.erl
>>
>> 45 % Maximum recv_body() length of 1MB
>> 46 -define(MAX_RECV_BODY, (1024*1024)).
>>
>> Can we get another 1024 in there? Pretty please? : )
>>
>> thanks,
>>
>> Sho
>


Mime
View raw message