]> Sergey Matveev's repositories - public-inbox.git/commit
lei_mirror: avoid convoluted lazy_cb usage
authorEric Wong <e@80x24.org>
Mon, 28 Nov 2022 05:31:40 +0000 (05:31 +0000)
committerEric Wong <e@80x24.org>
Mon, 28 Nov 2022 23:38:56 +0000 (23:38 +0000)
commitadafbb31b8bd80a9605625bea42ee40fae25e272
treedd236e9e122753942340d0722cab73bd1eab45c6
parent9686e462f9dee7cfa6cf153076e5bf66e4fda74a
lei_mirror: avoid convoluted lazy_cb usage

lazy_cb should only be used for lei command dispatch and
completion callbacks when the method isn't known at startup.
There's zero reason to use it when the method is known
ahead-of-time, especially when there's a comment pointing
reviewers towards the only possible method it can dispatch.
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiMirror.pm