* mu-store: commit after 6666 message instead of 2000, speeds things up
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user