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.
sub start {
my ($cls, $lei, $src, $dst) = @_;
- my $self = bless { lei => $lei, src => $src, dst => $dst }, $cls;
+ my $self = bless { src => $src, dst => $dst }, $cls;
if ($src =~ m!https?://!) {
require URI;
require PublicInbox::LeiCurl;