Skip to content

Instantly share code, notes, and snippets.

@pkrumins
Created March 2, 2014 23:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pkrumins/9315876 to your computer and use it in GitHub Desktop.
Save pkrumins/9315876 to your computer and use it in GitHub Desktop.
[daemons]
; enable SSL support by uncommenting the following line and supply the PEM's below.
; the default ssl port CouchDB listens on is 6984
; httpsd = {couch_httpd, start_link, [https]}
compaction_daemon={couch_compaction_daemon, start_link, []}
[compaction_daemon]
; The delay, in seconds, between each check for which database and view indexes
; need to be compacted.
check_interval = 300
; If a database or view index file is smaller then this value (in bytes),
; compaction will not happen. Very small files always have a very high
; fragmentation therefore it's not worth to compact them.
min_file_size = 10485760
[compactions]
_default = [{db_fragmentation, "70%"}, {view_fragmentation, "60%"}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment