]> Sergey Matveev's repositories - public-inbox.git/commit
imap: break giant inboxes into sub-inboxes of 50K messages
authorEric Wong <e@yhbt.net>
Wed, 10 Jun 2020 07:04:38 +0000 (07:04 +0000)
committerEric Wong <e@yhbt.net>
Sat, 13 Jun 2020 07:55:45 +0000 (07:55 +0000)
commit85993613eae14f63785e9c75cc41358e603c0bbf
tree58f6ab257e9ef5aabe0e8474b3711acccdea8a30
parent49175649b3e49cdd5f2ac857cb91e69a5b91a739
imap: break giant inboxes into sub-inboxes of 50K messages

This limit on mailbox size should keep users of tools like
mbsync (isync) and offlineimap happy, since typical filesystems
struggle with giant Maildirs.

I chose 50K since it's a bit more than what LKML typically sees
in a month and still manages to give acceptable performance on
my ancient Centrino laptop.

There were also no responses to my original proposal at:
<https://public-inbox.org/meta/20200519090000.GA24273@dcvr/>
so no objections, either :>
lib/PublicInbox/IMAP.pm