diff options
author | Eric Wong <e@80x24.org> | 2021-02-22 08:22:59 -0300 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-02-22 18:14:23 -0400 |
commit | c1ad789a90c274f9912d53bb1c7f1a3cc07cb233 (patch) | |
tree | e712e57f8eb7deae0ed13622bb1421d82541f05c /lib/PublicInbox/LeiImport.pm | |
parent | 3a40128f8418d3c3bc826a1d45ca907478339190 (diff) | |
download | public-inbox-c1ad789a90c274f9912d53bb1c7f1a3cc07cb233.tar.gz |
LeiAuth is no longer a separate worker process. Instead, it's used directly by LeiToMail and LeiImport for sharing auth info from the first worker to the rest of the workers, using lei-daemon as a message router. So drop the old code to reduce human cognitive load and interpreter memory overhead.
Diffstat (limited to 'lib/PublicInbox/LeiImport.pm')
-rw-r--r-- | lib/PublicInbox/LeiImport.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiImport.pm b/lib/PublicInbox/LeiImport.pm index bc37c628..b85f4d6c 100644 --- a/lib/PublicInbox/LeiImport.pm +++ b/lib/PublicInbox/LeiImport.pm @@ -112,7 +112,7 @@ sub call { # the main "lei import" method $net->{quiet} = $lei->{opt}->{quiet}; $lei->{net} = $net; require PublicInbox::LeiAuth; - $lei->{auth} = PublicInbox::LeiAuth->new($net); + $lei->{auth} = PublicInbox::LeiAuth->new; } import_start($lei); } |