mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 00:31:02 +00:00
Put the documents MTBL back into LMDB
We makes sure to write the documents into a file before memory mapping it and putting it into LMDB, this way we avoid moving it to RAM
This commit is contained in:
@ -63,8 +63,5 @@ $('#docs-count').text(function(index, text) {
|
||||
|
||||
// Make the database a little bit easier to read
|
||||
$('#db-size').text(function(index, text) {
|
||||
let arr = text.split("+");
|
||||
let database_size = filesize(parseInt(arr[0]));
|
||||
let documents_size = filesize(parseInt(arr[1]));
|
||||
return `${database_size} + ${documents_size}`
|
||||
return filesize(parseInt(text))
|
||||
});
|
||||
|
Reference in New Issue
Block a user