]> Sergey Matveev's repositories - public-inbox.git/commit
lei_mirror: fix circular reference
authorEric Wong <e@80x24.org>
Wed, 24 Mar 2021 09:23:34 +0000 (14:23 +0500)
committerEric Wong <e@80x24.org>
Wed, 24 Mar 2021 23:01:21 +0000 (23:01 +0000)
commit636604567b8ff6118c5fcf25e2912a50e0050ca2
tree18591aa21ad4534b56216e12ac72e67fab5a2044
parent59bb5f9287d5cd8009d8aae2d07fbf47d1b6bd91
lei_mirror: fix circular reference

All of our $lei->workers_start callers can simply rely on
that wrapper to do the right thing and pass fields to
->wq_worker_start children, only.

This could manifest as a unbound memory growth if somebody is
constantly mirroring, and was causing tests to get stuck when
experimenting with a persistent lei-daemon for the entire
test suite.
lib/PublicInbox/LeiMirror.pm