]> Sergey Matveev's repositories - public-inbox.git/commit
nntp: NEWGROUPS uses long_response
authorEric Wong <e@80x24.org>
Sat, 28 Nov 2020 05:09:12 +0000 (05:09 +0000)
committerEric Wong <e@80x24.org>
Sun, 29 Nov 2020 02:25:47 +0000 (02:25 +0000)
commit24e103d37b423c1c718e7f0f6285419005a98be5
tree50a191827fc59cb7aa8957fccc638e5eb5336e9e
parent50ac81092ba1034f3055ddabb3d7cc7853edfa41
nntp: NEWGROUPS uses long_response

We can amortize the cost of NEWGROUPS time filtering using the
long_response API.  This lets us handle hundreds/thousands of
inboxes without monopolizing the event loop for this command.

Further speedup is possible using MiscSearch, but that requires
not-yet-done indexing changes to MiscIdx.
lib/PublicInbox/NNTP.pm
lib/PublicInbox/NNTPD.pm
t/nntp.t