]> Sergey Matveev's repositories - public-inbox.git/commit
lei q: fix remote import accounting
authorEric Wong <e@80x24.org>
Wed, 27 Oct 2021 21:09:19 +0000 (21:09 +0000)
committerEric Wong <e@80x24.org>
Wed, 27 Oct 2021 23:23:41 +0000 (23:23 +0000)
commitac8eed6ecb389821eaafda7c695a2b99023dde4f
treed82c0d133da9636762518b606a108a690c6e227e
parentded9dad254c15aded6f8a1cf6b11e51e325b872d
lei q: fix remote import accounting

We need to update the {-nr_remote_eml} counter regardless
of progress display being enabled since it's needed for
saved searches.  We'll also split out the {-imported} flag
separately and only call LeiStore->done if a new message
was imported.

Note: this change is NOT expected to fix errors reported by
Thomas in <ebf92218-1470-4602-b534-6dae59639dc6@t-8ch.de>

Cc: Thomas Weißschuh <thomas@t-8ch.de>
lib/PublicInbox/LeiXSearch.pm