about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-08-04 10:02:47 +0000
committerEric Wong <e@80x24.org>2021-08-04 23:47:12 +0000
commit00fdf28595247e14fe82dbc0b61f778a0f4b41f7 (patch)
tree22abd539e49ac4a9ba630a57e8c04c14bd477fd2
parent7fc6e30aeab9925bece4bb00f88bb91af5646aa2 (diff)
downloadpublic-inbox-00fdf28595247e14fe82dbc0b61f778a0f4b41f7.tar.gz
Cross-posted messages don't result in massive writes to the
Xapian DBs like a completely unseen message would, so stop
accounting for their size.  This ought to improve performance
for heavily cross-posted setups, but --commit-interval still
has effect.
-rw-r--r--lib/PublicInbox/ExtSearchIdx.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/PublicInbox/ExtSearchIdx.pm b/lib/PublicInbox/ExtSearchIdx.pm
index 22edbb4b..7b7dfb53 100644
--- a/lib/PublicInbox/ExtSearchIdx.pm
+++ b/lib/PublicInbox/ExtSearchIdx.pm
@@ -103,7 +103,6 @@ sub do_xpost ($$) {
                 my $xnum = $req->{xnum};
                 $self->{oidx}->add_xref3($docid, $xnum, $oid, $eidx_key);
                 $idx->ipc_do('add_eidx_info', $docid, $eidx_key, $eml);
-                check_batch_limit($req);
         } else { # 'd'
                 my $rm_eidx_info;
                 my $nr = $self->{oidx}->remove_xref3($docid, $oid, $eidx_key,