]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/ExtMsg.pm
gzip_filter: delay async wcb call
[public-inbox.git] / lib / PublicInbox / ExtMsg.pm
index b7427b1bcbcaca89836aab1692bf149fab8f3566..72cae005da5ad85c950106bc0ec70daf1dbcd482 100644 (file)
@@ -32,7 +32,7 @@ sub PARTIAL_MAX () { 100 }
 sub search_partial ($$) {
        my ($ibx, $mid) = @_;
        return if length($mid) < $MIN_PARTIAL_LEN;
-       my $srch = $ibx->search or return; # NOT ->isrch, we already try ->ALL
+       my $srch = $ibx->isrch or return;
        my $opt = { limit => PARTIAL_MAX, relevance => -1 };
        my @try = ("m:$mid*");
        my $chop = $mid;
@@ -150,7 +150,7 @@ sub ext_msg {
        };
 }
 
-# called via PublicInbox::DS->EventLoop
+# called via PublicInbox::DS::event_loop
 sub event_step {
        my ($ctx, $sync) = @_;
        # can't find a partial match in current inbox, try the others: