changeset 19322:89323ed80676

lib-imap-storage: Mark METADATA transactions as external. We never write the metadata values to any storage backend, so they also don't need to be explicitly synced.
author Timo Sirainen <tss@iki.fi>
date Tue, 20 Oct 2015 18:22:53 +0300
parents 2730e603547d
children a26d8492614e
files src/lib-imap-storage/imap-metadata.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-imap-storage/imap-metadata.c	Tue Oct 20 17:07:20 2015 +0300
+++ b/src/lib-imap-storage/imap-metadata.c	Tue Oct 20 18:22:53 2015 +0300
@@ -121,7 +121,7 @@
 
 	if (imtrans->box == NULL || mailbox_open(imtrans->box) < 0)
 		return -1;
-	imtrans->trans = mailbox_transaction_begin(imtrans->box, 0);
+	imtrans->trans = mailbox_transaction_begin(imtrans->box, MAILBOX_TRANSACTION_FLAG_EXTERNAL);
 	return 0;
 }