]> git.notmuchmail.org Git - notmuch/commitdiff
new: Synchronize maildir flags eagerly.
authorAustin Clements <amdragon@mit.edu>
Fri, 28 Jan 2011 01:51:04 +0000 (20:51 -0500)
committerDavid Bremner <bremner@debian.org>
Sat, 24 Sep 2011 23:00:28 +0000 (20:00 -0300)
Because flag synchronization is stateless, it can be performed at any
time as long as it's guaranteed to be performed after any change to a
message's filename list.  Take advantage of this to synchronize tags
immediately after a filename is added or removed.

This does not yet make adding or removing a message atomic, but it is
a big step toward atomicity because it reduces the window where the
database tags are inconsistent from nearly the entire notmuch-new to
just around when the message is added or removed.


No differences found