]> Sergey Matveev's repositories - public-inbox.git/commit
lei q: ensure wq workers shutdown on IMAP auth failures
authorEric Wong <e@80x24.org>
Sat, 3 Apr 2021 02:24:23 +0000 (02:24 +0000)
committerEric Wong <e@80x24.org>
Sat, 3 Apr 2021 05:08:52 +0000 (05:08 +0000)
commit39b7af9565f85a720e7eeb7564cfa661000cb7e9
tree239ebb2145efc2d8ad34f550675ff2e35b341550
parent385bdbda71172fc421fc4cb6018270566f3268c9
lei q: ensure wq workers shutdown on IMAP auth failures

Leaving workers running on after auth failures is bad and messy,
cleanup our process management to have consistent worker
teardowns.  Improve error reporting, too, instead of letting
Mail::IMAPClient->exists fail due to undef.
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiAuth.pm
lib/PublicInbox/NetReader.pm