diff options
author | Eric Wong <e@yhbt.net> | 2020-08-28 10:12:58 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-08-28 22:19:25 +0000 |
commit | b1054300d1e33cb7b2279922c8f73628551fbf8f (patch) | |
tree | 5befa79abb6f02709a1b9d621e2962bcb700565a | |
parent | 0da3a1b70826a48ec0c016787b08aa2bc62bb375 (diff) | |
download | public-inbox-b1054300d1e33cb7b2279922c8f73628551fbf8f.tar.gz |
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.
-rw-r--r-- | lib/PublicInbox/WatchMaildir.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/WatchMaildir.pm b/lib/PublicInbox/WatchMaildir.pm index 4ae400f7..78aec8a2 100644 --- a/lib/PublicInbox/WatchMaildir.pm +++ b/lib/PublicInbox/WatchMaildir.pm @@ -918,8 +918,8 @@ sub nntp_fetch_all ($$$) { } $last_art = $art; } - $itrk->update_last(0, $last_art) if defined $last_art; _done_for_now($self); + $itrk->update_last(0, $last_art) if defined $last_art; $err; } |