From ba34a69490dce6ea3ba85ee5416b6590fa0c0a39 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 8 Jun 2021 09:50:20 +0000 Subject: lei: generalize auxiliary WQ handling 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. --- lib/PublicInbox/LeiRediff.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/LeiRediff.pm') 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 { -- cgit v1.2.3-24-ge0c7