You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2020/10/06 14:24:38 UTC

[couchdb] branch max_document_size_simplify_3.x created (now 4553a96)

This is an automated email from the ASF dual-hosted git repository.

rnewson pushed a change to branch max_document_size_simplify_3.x
in repository https://gitbox.apache.org/repos/asf/couchdb.git.


      at 4553a96  simplify max_document_size comment

This branch includes the following new commits:

     new 4553a96  simplify max_document_size comment

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[couchdb] 01/01: simplify max_document_size comment

Posted by rn...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rnewson pushed a commit to branch max_document_size_simplify_3.x
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 4553a96c2ea905e34c1cc869d99b761ceaaf96ed
Author: Robert Newson <rn...@apache.org>
AuthorDate: Tue Oct 6 15:18:31 2020 +0100

    simplify max_document_size comment
---
 rel/overlay/etc/default.ini | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/rel/overlay/etc/default.ini b/rel/overlay/etc/default.ini
index f2bf12f..3abe757 100644
--- a/rel/overlay/etc/default.ini
+++ b/rel/overlay/etc/default.ini
@@ -42,10 +42,8 @@ changes_doc_ids_optimization_threshold = 100
 ; Limit maximum document size. Requests to create / update documents with a body
 ; size larger than this will fail with a 413 http error. This limit applies to
 ; requests which update a single document as well as individual documents from
-; a _bulk_docs request. Since there is no canonical size of json encoded data,
-; due to variabiliy in what is escaped or how floats are encoded, this limit is
-; applied conservatively. For example 1.0e+16 could be encoded as 1e16, so 4 used
-; for size calculation instead of 7.
+; a _bulk_docs request. The size limit is approximate due to the nature of JSON
+; encoding.
 max_document_size = 8000000 ; bytes
 ;
 ; Maximum attachment size.