about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-04-02 22:37:32 -0300
committerEric Wong <e@80x24.org>2021-04-03 05:08:57 +0000
commit3811f2946efc19189ecab8ea82ea4ffaa564c1c0 (patch)
treeeff59bcc14b4ac57d66101bc062fe7b6ed060c45
parent5b90219609fb672d7bcbb5661305ae9c3a91e4f1 (diff)
downloadpublic-inbox-3811f2946efc19189ecab8ea82ea4ffaa564c1c0.tar.gz
Remote results can safely use the same mset progress reporting
as local results, despite not knowing the size of the result
set.  We're assuming terminal MUAs, for now.
-rw-r--r--lib/PublicInbox/LeiXSearch.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiXSearch.pm b/lib/PublicInbox/LeiXSearch.pm
index f3b8cc25..2b23e8e9 100644
--- a/lib/PublicInbox/LeiXSearch.pm
+++ b/lib/PublicInbox/LeiXSearch.pm
@@ -232,7 +232,7 @@ sub each_remote_eml { # callback for MboxReader->mboxrd
                 if ($now > $next) {
                         $lei->{-next_progress} = $now + 1;
                         my $nr = $lei->{-nr_remote_eml};
-                        $lei->err("# $lei->{-current_url} $nr/?");
+                        mset_progress($lei, $lei->{-current_url}, $nr, '?');
                 }
         }
         $each_smsg->($smsg, undef, $eml);