Hey Jeffrey,
thanks for pointing this out. Eventually we should have look at
a configurable setting here, so we might not end up using the
patch, but still thanks.

Would you mind creating a bug report on
http://issues.apache.org/jira/browse/COUCHDB
so we don't forget?

That'd be nice, thanks!

Jan
--


On Apr 26, 2008, at 05:05, Jeffrey Ollie wrote:
I'm just getting started with CouchDB and I noticed that mochikit
restricts document sizes to one megabyte.  Is there a reason to limit
the size of documents other than to prevent DoS attacks?  I modified
my copy of CouchDB with the attached patch and increased the maximum
document size to 50MB.  I was able to successfully save a large
document (although I haven't tried pulling it out yet).  The reason
that I want such large objects is to store images in the database, and
have the images replicated for redundancy.

Jeff
<couchdb-maxbody.patch>

Reply via email to