]> Sergey Matveev's repositories - public-inbox.git/commit
lei import: increase flags search batch size, display progress
authorEric Wong <e@80x24.org>
Fri, 2 Jul 2021 21:02:23 +0000 (21:02 +0000)
committerEric Wong <e@80x24.org>
Sat, 3 Jul 2021 22:09:48 +0000 (22:09 +0000)
commit3c3e6ae90d78970da6a6138345a2d1b7466ab9e1
tree136cb8323dab4402c9ece04fddf4fedcb8b4caef
parent89af3a8a64cccadce39bf89b31c97e7049034ca5
lei import: increase flags search batch size, display progress

IMAP flag-only synchronization doesn't fetch entire messages,
so we can safely bump the batch size iff a user specified one
for full messages to 10000 times that.

Since I sometimes wonder why nothing happens for several seconds
after starting "lei import $URL", we'll also show some progress
during the flag synchronization phase.
lib/PublicInbox/NetReader.pm