]> Sergey Matveev's repositories - public-inbox.git/commit
lei: simplify workers_start and callers
authorEric Wong <e@80x24.org>
Mon, 22 Mar 2021 07:53:58 +0000 (07:53 +0000)
committerEric Wong <e@80x24.org>
Tue, 23 Mar 2021 00:07:11 +0000 (00:07 +0000)
commitc61dc9e3b1d4e8fb0035461dced3f46853535e80
tree199cb8f0d81e422369be40fc8992f047f6b1689f
parenta00fdf39b4ec4ed045f28c29c79c8dcb9abac836
lei: simplify workers_start and callers

Since workers_start is in the common PublicInbox::LEI
package, we can just use \&METHOD_NAME instead of relying
on UNIVERSAL->can to avoid a method dispatch.

Most of our worker code can just use lei->dclose, so default
to doing that unless it's been overridden.
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiConvert.pm
lib/PublicInbox/LeiP2q.pm