about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiXSearch.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/LeiXSearch.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/LeiXSearch.pm')
-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 75e55d47..beb955bb 100644
--- a/lib/PublicInbox/LeiXSearch.pm
+++ b/lib/PublicInbox/LeiXSearch.pm
@@ -532,7 +532,7 @@ sub do_query {
                 start_query($self);
         }
         $lei->event_step_init; # wait for shutdowns
-        $op_c->op_wait_event($ops);
+        $lei->wait_wq_events($op_c, $ops);
 }
 
 sub add_uri {