diff options
author | Bessenyei Balázs Donát <bessbd@users.noreply.github.com> | 2021-02-01 20:09:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-01 20:09:39 +0100 |
commit | 0837b5162708d1c4482e404cc7488f70f2d1e301 (patch) | |
tree | 6a30bb8085a8de1d27af963b8268497e43becfbd /rel | |
parent | 8a5323cc97ecb085cf2dcf340433180809ca6820 (diff) | |
download | couchdb-0837b5162708d1c4482e404cc7488f70f2d1e301.tar.gz |
Set a finite default for max_attachment_size (#3347)
The current default for max_attachment_size is infinity.
This commit changes that to 1 gibibyte.
Diffstat (limited to 'rel')
-rw-r--r-- | rel/overlay/etc/default.ini | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rel/overlay/etc/default.ini b/rel/overlay/etc/default.ini index 3abe7578d..2cacf7775 100644 --- a/rel/overlay/etc/default.ini +++ b/rel/overlay/etc/default.ini @@ -47,7 +47,7 @@ changes_doc_ids_optimization_threshold = 100 max_document_size = 8000000 ; bytes ; ; Maximum attachment size. -; max_attachment_size = infinity +; max_attachment_size = 1073741824 ; 1 gibibyte ; ; Do not update the least recently used DB cache on reads, only writes ;update_lru_on_read = false |