]> Sergey Matveev's repositories - public-inbox.git/commit
lei: consolidate the bulk of the IPC code
authorEric Wong <e@80x24.org>
Thu, 18 Feb 2021 20:22:24 +0000 (23:22 +0300)
committerEric Wong <e@80x24.org>
Fri, 19 Feb 2021 00:02:20 +0000 (20:02 -0400)
commitd972b6711b01500181f809ef54a08aa29cb0d4a4
tree485a06a9bf3eef48fe1ab24f7ba6c1cac78f9df5
parent46eac797d44b068a5e144ecc8269e9dbe878f495
lei: consolidate the bulk of the IPC code

The backends for "lei add-external --mirror", "lei convert", and
"lei import" all share a similar pattern for spawning background
workers.  Hoist out the common parts to slim down our code base
a bit.

The LeiXSearch and LeiToMail workers for "lei q" remains a the
odd duck due to the deep pipelining and parallelization.
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiAuth.pm
lib/PublicInbox/LeiConvert.pm
lib/PublicInbox/LeiImport.pm
lib/PublicInbox/LeiMirror.pm