web UI rewrite, switch to ndjson.zst index format

This commit is contained in:
simon987
2021-09-05 09:49:07 -04:00
parent 391d8ed9d9
commit f4e1d90a6b
133 changed files with 34220 additions and 4988 deletions

View File

@@ -11,6 +11,8 @@
#define STORE_SIZE_META STORE_SIZE_TAG
typedef struct store_t {
char *path;
char *tmp_path;
MDB_dbi dbi;
MDB_env *env;
size_t size;
@@ -18,7 +20,7 @@ typedef struct store_t {
pthread_rwlock_t lock;
} store_t;
store_t *store_create(char *path, size_t chunk_size);
store_t *store_create(const char *path, size_t chunk_size);
void store_destroy(store_t *store);