mu: update the index 'processed' -> 'checked'

The 'processed' statistic for indexing was more-or-less synonymous for
'updated'; let's change to something more useful, 'checked' which roughly means
the number of messages checked for updates (typically a cheap timestamp check).
This commit is contained in:
Dirk-Jan C. Binnema
2021-11-10 21:50:43 +02:00
parent dd3efb0b8b
commit 503d7224e0
4 changed files with 18 additions and 15 deletions

View File

@ -29,7 +29,7 @@ class Store;
/// An object abstracting the index process.
class Indexer {
public:
public:
/**
* Construct an indexer object
*
@ -86,10 +86,10 @@ class Indexer {
// Object describing current progress
struct Progress {
bool running{}; /**< Is an index operation in progress? */
size_t processed{}; /**< Number of messages processed */
size_t updated{}; /**< Number of messages added/updated to store */
size_t removed{}; /**< Number of message removed from store */
bool running{}; /**< Is an index operation in progress? */
size_t checked{}; /**< Number of messages checked for changes */
size_t updated{}; /**< Number of messages (re)parsed & added/updated to store */
size_t removed{}; /**< Number of message removed from store */
};
/**
@ -101,7 +101,7 @@ class Indexer {
*/
Progress progress() const;
private:
private:
struct Private;
std::unique_ptr<Private> priv_;
};