about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiRediff.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/LeiRediff.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/LeiRediff.pm')
-rw-r--r--lib/PublicInbox/LeiRediff.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiRediff.pm b/lib/PublicInbox/LeiRediff.pm
index c8bd0dfb..7607b44f 100644
--- a/lib/PublicInbox/LeiRediff.pm
+++ b/lib/PublicInbox/LeiRediff.pm
@@ -227,7 +227,7 @@ sub lei_rediff {
         my ($op_c, $ops) = $lei->workers_start($self, 1);
         $lei->{wq1} = $self;
         net_merge_all_done($self) unless $lei->{auth};
-        $op_c->op_wait_event($ops);
+        $lei->wait_wq_events($op_c, $ops);
 }
 
 sub ipc_atfork_child {