From 24e103d37b423c1c718e7f0f6285419005a98be5 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 28 Nov 2020 05:09:12 +0000 Subject: 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. --- t/nntp.t | 1 - 1 file changed, 1 deletion(-) (limited to 't') diff --git a/t/nntp.t b/t/nntp.t index 91a2aff7..ea2ef876 100644 --- a/t/nntp.t +++ b/t/nntp.t @@ -112,7 +112,6 @@ use PublicInbox::Config; my $hdr = $mime->header_obj; my $mock_self = { nntpd => { - grouplist => [], servername => 'example.com', pi_config => bless {}, 'PublicInbox::Config', }, -- cgit v1.2.3-24-ge0c7