]> Sergey Matveev's repositories - public-inbox.git/commit
lei import: simplify Maildir handling
authorEric Wong <e@80x24.org>
Wed, 10 Mar 2021 13:23:43 +0000 (13:23 +0000)
committerEric Wong <e@80x24.org>
Thu, 11 Mar 2021 03:39:16 +0000 (23:39 -0400)
commit0c42d57cc29917b731d4a4918f9b2d666ee230e6
tree814444e3df4896ae7b1ed055c18eb32162613218
parent2bc961811c57bef3feef24244bf20546f3754d4f
lei import: simplify Maildir handling

Having a one-off Maildir functionality in LeiStore doesn't seem
worth the maintenance burden, especially given an upcoming
change to skip trashed messages.

I expect this will hurt performance slightly with extra IPC
overhead for the socket copy, but "lei import" may eventually
become rare or at least not hit messages redundantly.
lib/PublicInbox/LeiImport.pm
lib/PublicInbox/LeiStore.pm