diff options
author | Eric Wong <e@80x24.org> | 2021-06-03 09:52:06 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-06-04 04:34:39 +0000 |
commit | d2670108f71b1eff11ddb4288cc18a6c1f3d4322 (patch) | |
tree | f01a317fd28976c972654e4e2955793eea94075d /lib/PublicInbox/LeiXSearch.pm | |
parent | 3be19bfae0e1e458441979b65461d647abf5599a (diff) | |
download | public-inbox-d2670108f71b1eff11ddb4288cc18a6c1f3d4322.tar.gz |
This will make it easier to use for internal use such as managing Maildir and IMAP IDLE watches.
Diffstat (limited to 'lib/PublicInbox/LeiXSearch.pm')
-rw-r--r-- | lib/PublicInbox/LeiXSearch.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/PublicInbox/LeiXSearch.pm b/lib/PublicInbox/LeiXSearch.pm index f7c1e559..75e55d47 100644 --- a/lib/PublicInbox/LeiXSearch.pm +++ b/lib/PublicInbox/LeiXSearch.pm @@ -9,7 +9,6 @@ use strict; use v5.10.1; use parent qw(PublicInbox::LeiSearch PublicInbox::IPC); use PublicInbox::DS qw(now); -use PublicInbox::PktOp qw(pkt_do); use File::Temp 0.19 (); # 0.19 for ->newdir use File::Spec (); use PublicInbox::Search qw(xap_terms); @@ -142,7 +141,7 @@ sub mset_progress { my $lei = shift; return if $lei->{early_mua} || !$lei->{-progress}; if ($lei->{pkt_op_p}) { - pkt_do($lei->{pkt_op_p}, 'mset_progress', @_); + $lei->{pkt_op_p}->pkt_do('mset_progress', @_); } else { # single lei-daemon consumer my ($desc, $mset_size, $mset_total_est) = @_; $lei->{-mset_total} += $mset_size if $mset_total_est ne '?'; |