Skip to content

Commit

Permalink
adjusting limit of open files
Browse files Browse the repository at this point in the history
  • Loading branch information
tpltnt committed Feb 7, 2018
1 parent 7e6a5eb commit db9f902
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/allmydata/test/test_node.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import base64
import os
import resource
import stat
import sys
import time
Expand All @@ -22,6 +23,8 @@
import allmydata.test.common_util as testutil


resource.setrlimit(resource.RLIMIT_NOFILE, (2000, -1)) # avoid "too many open files" with macOS

class LoggingMultiService(service.MultiService):
def log(self, msg, **kw):
pass
Expand Down

0 comments on commit db9f902

Please sign in to comment.