about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/LEI.pm5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm
index cddb94e9..e2a945a4 100644
--- a/lib/PublicInbox/LEI.pm
+++ b/lib/PublicInbox/LEI.pm
@@ -941,11 +941,6 @@ sub lazy_start {
                 $! = $errno; # allow interpolation to stringify in die
                 die "connect($path): $!";
         }
-        if (eval { require BSD::Resource }) {
-                my $NOFILE = BSD::Resource::RLIMIT_NOFILE();
-                my ($s, $h) = BSD::Resource::getrlimit($NOFILE);
-                BSD::Resource::setrlimit($NOFILE, $h, $h) if $s < $h;
-        }
         umask(077) // die("umask(077): $!");
         bind($listener, $addr) or die "bind($path): $!";
         listen($listener, 1024) or die "listen: $!";