* mu-store: commit after 6666 message instead of 2000, speeds things up

This commit is contained in:
Dirk-Jan C. Binnema
2010-09-12 21:19:38 +03:00
parent 081e601c25
commit 893130e88e

View File

@ -31,7 +31,7 @@
#include "mu-util.h" #include "mu-util.h"
/* number of new messages after which we commit to the database */ /* 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 */ /* http://article.gmane.org/gmane.comp.search.xapian.general/3656 */
#define MU_STORE_MAX_TERM_LENGTH 240 #define MU_STORE_MAX_TERM_LENGTH 240