summaryrefslogtreecommitdiff
path: root/buildstream/_frontend/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_frontend/app.py')
-rw-r--r--buildstream/_frontend/app.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/buildstream/_frontend/app.py b/buildstream/_frontend/app.py
index ccdbb2d5d..44b4cfb95 100644
--- a/buildstream/_frontend/app.py
+++ b/buildstream/_frontend/app.py
@@ -115,14 +115,6 @@ class App():
else:
self.colors = False
- # Increase the soft limit for open file descriptors to the maximum.
- # SafeHardlinks FUSE needs to hold file descriptors for all processes in the sandbox.
- # Avoid hitting the limit too quickly.
- limits = resource.getrlimit(resource.RLIMIT_NOFILE)
- if limits[0] != limits[1]:
- # Set soft limit to hard limit
- resource.setrlimit(resource.RLIMIT_NOFILE, (limits[1], limits[1]))
-
# create()
#
# Should be used instead of the regular constructor.