]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
www: extmsg: async partial Message-ID search
authorEric Wong <e@80x24.org>
Mon, 12 May 2025 20:45:00 +0000 (20:45 +0000)
committerEric Wong <e@80x24.org>
Thu, 15 May 2025 07:59:57 +0000 (07:59 +0000)
commitc3d0295bd96297600a98b1d6aa6d79790518d906
tree3b871e21b08fc9bbb166ff41538f01f5c25d4809
parent0e63912e1b6daa712174cbd03fc9bb54d719e279
www: extmsg: async partial Message-ID search

While partial Message-ID matches tend to be relatively fast,
there's still some potential for pathological matches taking
a long time and blocking our event loop.  So throw them over
to the external xap_helper process to ensure our main event
loop can handle other HTTP/NNTP/POP3/IMAP requests while
potentially waiting on Xapian disk seeks.
lib/PublicInbox/ExtMsg.pm
lib/PublicInbox/Isearch.pm
lib/PublicInbox/LeiRemote.pm
lib/PublicInbox/Search.pm