mirror of https://github.com/kiwix/libkiwix.git
+ buffer of 5000 instead of 10000 for the indexer
This commit is contained in:
parent
6067fab7f3
commit
0305c3fff5
|
@ -228,7 +228,7 @@ namespace kiwix {
|
|||
}
|
||||
|
||||
/* Make a hard-disk flush every 10.000 articles */
|
||||
if (indexedArticleCount % 10000 == 0) {
|
||||
if (indexedArticleCount % 5000 == 0) {
|
||||
self->flush();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue