]> Sergey Matveev's repositories - public-inbox.git/commit
lei_mirror: simplify forkgroup-related subs
authorEric Wong <e@80x24.org>
Mon, 28 Nov 2022 05:32:20 +0000 (05:32 +0000)
committerEric Wong <e@80x24.org>
Mon, 28 Nov 2022 23:38:59 +0000 (23:38 +0000)
commitecb2dcb376017475ac55b2847bc09ce2767e3ba9
treee4bb430bbef4fa1536cf9d6c8d2ea002dc8fd38c
parenta0afd11630d7f0130f04f834294224aa8e613f6b
lei_mirror: simplify forkgroup-related subs

We can pass fewer variables around on stack since $fgrp is just
a copy of $self.  We can also rely more on explicit callback
passing rather than relying on OnDestroy and ->cancel for
conditional calls.
lib/PublicInbox/LeiMirror.pm