diff options
author | Eric Wong <e@80x24.org> | 2021-01-03 02:06:17 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-01-03 18:30:33 +0000 |
commit | ddb34f3e901c2e93e9b02dbac31961225b33379f (patch) | |
tree | ac7eec3a95e2a903f2b1bca4ccda303e07c337b6 /lib/PublicInbox/SearchIdxShard.pm | |
parent | 02ff5cc7ecfe3e36cdd1898c4747c28d83de0e1a (diff) | |
download | public-inbox-ddb34f3e901c2e93e9b02dbac31961225b33379f.tar.gz |
We can more clearly distinguish between v1 and v2-only code paths this way, and may be able to save a few cycles this way.
Diffstat (limited to 'lib/PublicInbox/SearchIdxShard.pm')
-rw-r--r-- | lib/PublicInbox/SearchIdxShard.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/SearchIdxShard.pm b/lib/PublicInbox/SearchIdxShard.pm index 0051df93..1598faeb 100644 --- a/lib/PublicInbox/SearchIdxShard.pm +++ b/lib/PublicInbox/SearchIdxShard.pm @@ -54,7 +54,7 @@ sub ipc_atfork_child { # called automatically before ipc_worker_loop sub index_eml { my ($self, $eml, $smsg, $eidx_key) = @_; $smsg->{eidx_key} = $eidx_key if defined $eidx_key; - $self->ipc_do('add_message', $eml, $smsg); + $self->ipc_do('add_xapian', $eml, $smsg); } # wait for return to determine when ipc_do('commit_txn_lazy') is done |