Skip to content

Commit e5bf9d4

Browse files
committed
doc: add snooze_period doc to default.ini
1 parent 58fef34 commit e5bf9d4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

rel/overlay/etc/default.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,12 @@ check_interval = 3600
453453
; compaction will not happen. Very small files always have a very high
454454
; fragmentation therefore it's not worth to compact them.
455455
min_file_size = 131072
456+
; With lots of databases and/or with lots of design docs in one or more
457+
; databases, the compaction_daemon can create significant CPU load when
458+
; checking whether databases and view indexes need compacting. The
459+
; snooze_period setting ensures a smoother CPU load. Defaults to
460+
; 3 seconds wait.
461+
; snooze_period = 3
456462

457463
[compactions]
458464
; List of compaction rules for the compaction daemon.

0 commit comments

Comments
 (0)