]> Sergey Matveev's repositories - public-inbox.git/commit
net_reader: mic_get: reuse connections if cache enabled
authorEric Wong <e@80x24.org>
Mon, 22 Feb 2021 11:22:57 +0000 (08:22 -0300)
committerEric Wong <e@80x24.org>
Mon, 22 Feb 2021 22:14:22 +0000 (18:14 -0400)
commitf267821b1bef4488978a95f99fd0f837fdf475b7
tree553d743086b45ca47d7ba23e18a4e89351a1cff0
parentfa5650d399f51a596e5c126b3ce65347409d4fe9
net_reader: mic_get: reuse connections if cache enabled

We only enable {mic_cached} in WQ workers, and those
aren't expected to fork again going forward.  So cache
here avoid a penalty for the non-augmenting (imap_delete_all)
call with "lei q"
lib/PublicInbox/NetReader.pm