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:
parent
620317ca6d
commit
75a118d5e7
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue