* make mag-msg-store a configurable parameter; refactor the setting of the

xapian batch size
This commit is contained in:
Dirk-Jan C. Binnema
2011-01-15 13:27:41 +02:00
parent 62acc7739d
commit c76af05a7a
11 changed files with 145 additions and 71 deletions

View File

@ -66,7 +66,7 @@ reindex (MugData *mugdata)
return;
err = NULL;
midx = mu_index_new (mu_runtime_xapian_dir(), 0, &err);
midx = mu_index_new (mu_runtime_xapian_dir(), &err);
if (!midx) {
if (err && err->code == MU_ERROR_XAPIAN_CANNOT_GET_WRITELOCK) {
g_warning ("database busy...");