about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiTag.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-06-08 09:50:20 +0000
committerEric Wong <e@80x24.org>2021-06-08 16:50:47 +0000
commitba34a69490dce6ea3ba85ee5416b6590fa0c0a39 (patch)
tree9f8a13a2957cb260ddc4b510a444c3711f96e301 /lib/PublicInbox/LeiTag.pm
parent11cf6468df48b9b9f34018cce1d20dc773322f2c (diff)
downloadpublic-inbox-ba34a69490dce6ea3ba85ee5416b6590fa0c0a39.tar.gz
op_wait_event is now more lei-specific since we no longer have
to care about oneshot and use a synchronous loop.

{ikw} (import-keywords) started a trend, but LeiPmdir (parallel
Maildir) is an upcoming WQ class that will follow this idea.

Eventually, {l2m} usage may be updated to follow this, too.
Diffstat (limited to 'lib/PublicInbox/LeiTag.pm')
-rw-r--r--lib/PublicInbox/LeiTag.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiTag.pm b/lib/PublicInbox/LeiTag.pm
index b6abd533..4b3ce7d8 100644
--- a/lib/PublicInbox/LeiTag.pm
+++ b/lib/PublicInbox/LeiTag.pm
@@ -53,7 +53,7 @@ sub lei_tag { # the "lei tag" method
         $lei->{wq1} = $self;
         $lei->{-err_type} = 'non-fatal';
         net_merge_all_done($self) unless $lei->{auth};
-        $op_c->op_wait_event($ops);
+        $lei->wait_wq_events($op_c, $ops);
 }
 
 sub note_missing {