From: Eric Wong Date: Wed, 25 Oct 2023 00:29:42 +0000 (+0000) Subject: cidx_log_p: don't bother with F_SETPIPE_SZ X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8208ab3b356d2da5ceba1f7e096cc2a566c4044;p=thirdparty%2Fpublic-inbox.git cidx_log_p: don't bother with F_SETPIPE_SZ It doesn't help here since the bottleneck is Xapian indexing (and not `git log -p'). This fcntl call was also in the way of switching to ProcessIO. --- diff --git a/lib/PublicInbox/CidxLogP.pm b/lib/PublicInbox/CidxLogP.pm index 34f7201d6..ac4c1b370 100644 --- a/lib/PublicInbox/CidxLogP.pm +++ b/lib/PublicInbox/CidxLogP.pm @@ -10,12 +10,11 @@ package PublicInbox::CidxLogP; use v5.12; use parent qw(PublicInbox::DS); -use PublicInbox::Syscall qw(EPOLLIN EPOLLONESHOT $F_SETPIPE_SZ); +use PublicInbox::Syscall qw(EPOLLIN EPOLLONESHOT); sub new { my ($cls, $rd, $cidx, $git, $roots) = @_; my $self = bless { cidx => $cidx, git => $git, roots => $roots }, $cls; - fcntl($rd, $F_SETPIPE_SZ, 1048576) if $F_SETPIPE_SZ; $self->SUPER::new($rd, EPOLLIN|EPOLLONESHOT); }