]> Sergey Matveev's repositories - public-inbox.git/commit
imapd: use nntpd_cache to speed up startup/reload time
authorEric Wong <e@80x24.org>
Wed, 3 Aug 2022 20:03:57 +0000 (20:03 +0000)
committerEric Wong <e@80x24.org>
Thu, 4 Aug 2022 07:00:59 +0000 (07:00 +0000)
commite40b7230379f37b31563291bbbee2f0899874fed
tree51e5b7963f16374f953daf0ad537f4fc02e46239
parentf1e6dbd43146aec82aeb49cd249a8a86813506e1
imapd: use nntpd_cache to speed up startup/reload time

ConfigIter was still too slow despite being fair.  The addition of
ART_MIN in ALL->misc means it can be used as a startup/reload cache
for -imapd, too.

This results in a ~3x faster startup for -imapd with 50K inboxes.
lib/PublicInbox/IMAP.pm
lib/PublicInbox/IMAPD.pm