-
Notifications
You must be signed in to change notification settings - Fork 391
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
indexer: make lazy check even lazier
In lazy-mode, we were skipping directories that did not change; however, this didn't help for the case were users received new messages in big maildirs. So, add another check where we compare the ctime of message files with the time of the last indexing operation. If it's smaller, ignore the message-file. This is faster than having to consult the Xapian database for each message. Note that this requires in mu4e: (setq mu4e-index-lazy-check t) or --lazy-check as a parameter for 'mu index'.
- Loading branch information
Showing
3 changed files
with
29 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters