summaryrefslogtreecommitdiff
path: root/rel
diff options
context:
space:
mode:
authorRobert Newson <rnewson@apache.org>2020-10-06 15:18:31 +0100
committerRobert Newson <rnewson@apache.org>2020-10-06 15:23:58 +0100
commit990a3bd7240971cc0274b26fa496b88fd6c66f44 (patch)
tree4f0350264500b0eef064a195897b8b32c769165c /rel
parentd560cb7c251f5f9a3c8a02138244ba3c0c4a9fe9 (diff)
downloadcouchdb-990a3bd7240971cc0274b26fa496b88fd6c66f44.tar.gz
simplify max_document_size comment
Diffstat (limited to 'rel')
-rw-r--r--rel/overlay/etc/default.ini6
1 files changed, 2 insertions, 4 deletions
diff --git a/rel/overlay/etc/default.ini b/rel/overlay/etc/default.ini
index 3a377c7c8..8970be572 100644
--- a/rel/overlay/etc/default.ini
+++ b/rel/overlay/etc/default.ini
@@ -49,10 +49,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 number of documents in a _bulk_docs request. Anything larger