summaryrefslogtreecommitdiff
path: root/src/couch/src/couch_compaction_daemon.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/couch/src/couch_compaction_daemon.erl')
-rw-r--r--src/couch/src/couch_compaction_daemon.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/couch/src/couch_compaction_daemon.erl b/src/couch/src/couch_compaction_daemon.erl
index 59555f1ba..200c3fd76 100644
--- a/src/couch/src/couch_compaction_daemon.erl
+++ b/src/couch/src/couch_compaction_daemon.erl
@@ -152,8 +152,7 @@ compact_loop(Parent) ->
true ->
receive {Parent, have_config} -> ok end;
false ->
- PausePeriod = list_to_integer(
- config:get("compaction_daemon", "check_interval", "300")),
+ PausePeriod = config:get_integer("compaction_daemon", "check_interval", 3600),
ok = timer:sleep(PausePeriod * 1000)
end,
compact_loop(Parent).