upd mmap segment_meta_capacity (#24)
* upd mmap segment_meta_capacity * clang format
This commit is contained in:
parent
e17c4a88bc
commit
3335c1f6d1
|
|
@ -540,6 +540,8 @@ int build_by_streamer(IndexStreamer::Pointer &streamer,
|
|||
return IndexError_NoExist;
|
||||
}
|
||||
ailego::Params params;
|
||||
params.set("proxima.mmap_file.storage.segment_meta_capacity",
|
||||
20 * 1024 * 1024);
|
||||
int ret = storage->init(params);
|
||||
if (ret != 0) {
|
||||
cerr << "Storage Failed init";
|
||||
|
|
|
|||
Loading…
Reference in New Issue