Show More
@@ -24,6 +24,7 b' import uuid' | |||||
24 | import wsgiref.util |
|
24 | import wsgiref.util | |
25 | import traceback |
|
25 | import traceback | |
26 | import tempfile |
|
26 | import tempfile | |
|
27 | import resource | |||
27 | from itertools import chain |
|
28 | from itertools import chain | |
28 | from cStringIO import StringIO |
|
29 | from cStringIO import StringIO | |
29 |
|
30 | |||
@@ -122,6 +123,9 b' class VCS(object):' | |||||
122 | self.cache_config = cache_config |
|
123 | self.cache_config = cache_config | |
123 | self._configure_locale() |
|
124 | self._configure_locale() | |
124 |
|
125 | |||
|
126 | maxfd = resource.getrlimit(resource.RLIMIT_NOFILE)[1] | |||
|
127 | log.info('Max file descriptors value: %s', maxfd) | |||
|
128 | ||||
125 | if GitFactory and GitRemote: |
|
129 | if GitFactory and GitRemote: | |
126 | git_factory = GitFactory() |
|
130 | git_factory = GitFactory() | |
127 | self._git_remote = GitRemote(git_factory) |
|
131 | self._git_remote = GitRemote(git_factory) |
General Comments 0
You need to be logged in to leave comments.
Login now