]> Sergey Matveev's repositories - public-inbox.git/commit
lei: generalize auxiliary WQ handling
authorEric Wong <e@80x24.org>
Tue, 8 Jun 2021 09:50:20 +0000 (09:50 +0000)
committerEric Wong <e@80x24.org>
Tue, 8 Jun 2021 16:50:47 +0000 (16:50 +0000)
commitba34a69490dce6ea3ba85ee5416b6590fa0c0a39
tree9f8a13a2957cb260ddc4b510a444c3711f96e301
parent11cf6468df48b9b9f34018cce1d20dc773322f2c
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.
13 files changed:
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiBlob.pm
lib/PublicInbox/LeiConvert.pm
lib/PublicInbox/LeiExportKw.pm
lib/PublicInbox/LeiImport.pm
lib/PublicInbox/LeiLsSearch.pm
lib/PublicInbox/LeiMirror.pm
lib/PublicInbox/LeiP2q.pm
lib/PublicInbox/LeiRediff.pm
lib/PublicInbox/LeiRm.pm
lib/PublicInbox/LeiTag.pm
lib/PublicInbox/LeiXSearch.pm
lib/PublicInbox/PktOp.pm