disable delayed commits (see http://couchdb.apache.org/notice/1.0.1.html for details)

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Robert Newson 2010-08-10 16:19:57 +01:00 committed by Adam Vandenberg
parent 620317ca6d
commit 75a118d5e7

View file

@ -23,5 +23,15 @@ class Couchdb <Formula
(lib+'couchdb/bin/couchjs').chmod 0755
(var+'lib/couchdb').mkpath
(var+'log/couchdb').mkpath
(etc + "couchdb/local.d/delayed_commits.ini").write ini_file
end
def ini_file
return <<-EOS
[couchdb]
delayed_commits = false ; See http://couchdb.apache.org/notice/1.0.1.html for details.
EOS
end
end