start impl garbage collection

This commit is contained in:
Dietmar Maurer
2018-12-18 11:06:03 +01:00
parent 529de6c7a3
commit 3d5c11e5d2
4 changed files with 86 additions and 5 deletions

View File

@ -46,6 +46,8 @@ fn backup_file(param: Value, _info: &ApiMethod) -> Result<Value, Error> {
index.close()?; // commit changes
}
datastore.garbage_collection()?;
let idx = datastore.open_image_reader(target)?;
idx.print_info();