UI fix, disable thumbnail option, batch index size option

This commit is contained in:
2019-12-01 10:57:29 -05:00
parent 4346c3e063
commit d816dae8b3
12 changed files with 79 additions and 46 deletions

View File

@@ -9,7 +9,6 @@
#include "static_generated.c"
#define BULK_INDEX_SIZE 100
typedef struct es_indexer {
int queued;
@@ -173,7 +172,7 @@ void elastic_index_line(es_bulk_line_t *line) {
Indexer->queued += 1;
if (Indexer->queued >= BULK_INDEX_SIZE) {
if (Indexer->queued >= IndexCtx.batch_size) {
elastic_flush();
}
}