]> Sergey Matveev's repositories - public-inbox.git/commit
watch: use UID SEARCH to avoid empty UID FETCH
authorEric Wong <e@yhbt.net>
Sat, 27 Jun 2020 10:03:43 +0000 (10:03 +0000)
committerEric Wong <e@yhbt.net>
Sun, 28 Jun 2020 22:27:19 +0000 (22:27 +0000)
commitbb7b738bc49558f869a14a2eaecbc5e7f401de51
treea3a13161965221ed159807a5552279748fdb3f16
parent4c2d7dce2526d978e43021707ecb60a4bc277138
watch: use UID SEARCH to avoid empty UID FETCH

For mailboxes with many gaps in the UID sequence,
performing a UID SEARCH beforehand can reduce the
number of articles to fetch.

However, the downside to this is we may end up with
an arbitrarly large list of UIDs from the server.
lib/PublicInbox/WatchMaildir.pm