summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2018-03-05 16:12:14 +0100
committerJan Lehnardt <jan@apache.org>2018-03-06 09:20:24 +0100
commite5bf9d48aa8574447fb272345ca521d4b0529e39 (patch)
treec01e7885fcf5de7baea459fe5d264115a8c5cec7
parent58fef3452572cfd016ac3fdfe8f4fe363e3ac7b8 (diff)
downloadcouchdb-e5bf9d48aa8574447fb272345ca521d4b0529e39.tar.gz
doc: add snooze_period doc to default.ini
-rw-r--r--rel/overlay/etc/default.ini6
1 files changed, 6 insertions, 0 deletions
diff --git a/rel/overlay/etc/default.ini b/rel/overlay/etc/default.ini
index 10c75a0b4..9762536ac 100644
--- a/rel/overlay/etc/default.ini
+++ b/rel/overlay/etc/default.ini
@@ -453,6 +453,12 @@ check_interval = 3600
; compaction will not happen. Very small files always have a very high
; fragmentation therefore it's not worth to compact them.
min_file_size = 131072
+; With lots of databases and/or with lots of design docs in one or more
+; databases, the compaction_daemon can create significant CPU load when
+; checking whether databases and view indexes need compacting. The
+; snooze_period setting ensures a smoother CPU load. Defaults to
+; 3 seconds wait.
+; snooze_period = 3
[compactions]
; List of compaction rules for the compaction daemon.