summaryrefslogtreecommitdiff
path: root/rel
diff options
context:
space:
mode:
authorGarren Smith <garren.smith@gmail.com>2018-12-06 13:03:18 +0200
committergarren smith <garren.smith@gmail.com>2019-01-23 08:30:56 +0200
commit1fdfe466223380d1ee7c82e21283e161290aed87 (patch)
treec21fb7ab20fd81006ef2868c0beb462eba631e26 /rel
parentfeaf3dafe7ac4a7a1ac341d27eee14fc1ff214a7 (diff)
downloadcouchdb-1fdfe466223380d1ee7c82e21283e161290aed87.tar.gz
Make _all_docs and view query limits configurable
This allows us to set a maximun allowed number of documents to be returned for a global or a partitioned view query and _all_docs query. Co-authored-by: Paul J. Davis <paul.joseph.davis@gmail.com>
Diffstat (limited to 'rel')
-rw-r--r--rel/overlay/etc/default.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/rel/overlay/etc/default.ini b/rel/overlay/etc/default.ini
index 9a332acdd..b9d51af71 100644
--- a/rel/overlay/etc/default.ini
+++ b/rel/overlay/etc/default.ini
@@ -293,6 +293,8 @@ os_process_limit = 100
; Timeout for how long a response from a busy view group server can take.
; "infinity" is also a valid configuration value.
;group_info_timeout = 5000
+;query_limit = 268435456
+;partition_query_limit = 268435456
[mango]
; Set to true to disable the "index all fields" text index, which can lead