aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorTyler Brock2013-02-02 02:13:34 -0500
committerAdam Vandenberg2013-02-02 10:10:55 -0800
commit2de10c2f76fafc184d3ddee7475f71b6c6a7e257 (patch)
tree3cf24c18af054e6e801491c3f668c8b3bd7fcf04 /Library
parentb453ef7afb2de6aeaadbf01e42c7d20358db5c2b (diff)
downloadhomebrew-2de10c2f76fafc184d3ddee7475f71b6c6a7e257.tar.bz2
mongodb: raise resource limits
Closes #17523. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mongodb.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Formula/mongodb.rb b/Library/Formula/mongodb.rb
index 30214140b..f82e1e8c0 100644
--- a/Library/Formula/mongodb.rb
+++ b/Library/Formula/mongodb.rb
@@ -94,6 +94,16 @@ class Mongodb < Formula
<string>#{var}/log/mongodb/output.log</string>
<key>StandardOutPath</key>
<string>#{var}/log/mongodb/output.log</string>
+ <key>HardResourceLimits</key>
+ <dict>
+ <key>NumberOfFiles</key>
+ <integer>1024</integer>
+ </dict>
+ <key>SoftResourceLimits</key>
+ <dict>
+ <key>NumberOfFiles</key>
+ <integer>1024</integer>
+ </dict>
</dict>
</plist>
EOS