From 893130e88e67ab5bc7fe44c6f8e3f62242d222c9 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Sun, 12 Sep 2010 21:19:38 +0300 Subject: [PATCH] * mu-store: commit after 6666 message instead of 2000, speeds things up --- src/mu-store.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mu-store.cc b/src/mu-store.cc index 8d702be6..973c14a0 100644 --- a/src/mu-store.cc +++ b/src/mu-store.cc @@ -31,7 +31,7 @@ #include "mu-util.h" /* number of new messages after which we commit to the database */ -#define MU_STORE_TRX_SIZE 2000 +#define MU_STORE_TRX_SIZE 6666 /* http://article.gmane.org/gmane.comp.search.xapian.general/3656 */ #define MU_STORE_MAX_TERM_LENGTH 240