]> Sergey Matveev's repositories - public-inbox.git/commit
watch: flush changes to inbox before updating IMAPTracker
authorEric Wong <e@yhbt.net>
Fri, 28 Aug 2020 10:12:58 +0000 (10:12 +0000)
committerEric Wong <e@yhbt.net>
Fri, 28 Aug 2020 22:19:25 +0000 (22:19 +0000)
commitb1054300d1e33cb7b2279922c8f73628551fbf8f
tree5befa79abb6f02709a1b9d621e2962bcb700565a
parent0da3a1b70826a48ec0c016787b08aa2bc62bb375
watch: flush changes to inbox before updating IMAPTracker

Data needs to hit inboxes, first.  Otherwise it's possible to
skip messages in case git-fast-import is killed before it sees
"done\n".  Now, -watch will just waste a little bandwidth in
re-downloading a seen message if it's interrupted immediately
before updating IMAPTracker.
lib/PublicInbox/WatchMaildir.pm