]> Sergey Matveev's repositories - public-inbox.git/commit
imap: mailboxes list across listeners
authorEric Wong <e@80x24.org>
Mon, 8 Aug 2022 23:53:10 +0000 (23:53 +0000)
committerEric Wong <e@80x24.org>
Tue, 9 Aug 2022 16:41:53 +0000 (16:41 +0000)
commite271df69f387333e5c80113a92c7964a8434d0a9
tree5bd8be1855aa1a17a7fb253b03fd90267052e4bb
parenta26e6cb8424cc7a146ecd5fbda0a02021a6e03ea
imap: mailboxes list across listeners

Since IMAP mailbox lists are tied to the PublicInbox::Config
object, we can share them the same way the config object is
shared when an -imapd or -netd instance has multiple listeners.

This ought to reduce memory use and startup time when binding
multiple sockets which share a common config file.
lib/PublicInbox/IMAPD.pm