aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-restore.c
diff options
context:
space:
mode:
authorGravatar Austin Clements <amdragon@mit.edu>2011-01-27 20:51:04 -0500
committerGravatar David Bremner <bremner@debian.org>2011-09-24 20:00:28 -0300
commit8305f0aac7f31aeddd54d0af683475ab1492e2b7 (patch)
tree12b2471f8e1eb5c01c1d79666c345ae9a8bb41df /notmuch-restore.c
parent191c4ae693c35ecd9e905e64c7619734171c4a8a (diff)
new: Synchronize maildir flags eagerly.
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.
Diffstat (limited to 'notmuch-restore.c')
0 files changed, 0 insertions, 0 deletions