WIP: dump

This commit is contained in:
tamo 2021-04-29 14:45:08 +02:00
parent 0275b36fb0
commit 0f94ef8abc
No known key found for this signature in database
GPG key ID: 20CD8020AFA88D69
10 changed files with 64 additions and 40 deletions

View file

@ -78,7 +78,7 @@ pub struct Stats {
}
impl IndexController {
pub async fn new(path: impl AsRef<Path>, options: &Opt) -> anyhow::Result<Self> {
pub fn new(path: impl AsRef<Path>, options: &Opt) -> anyhow::Result<Self> {
let index_size = options.max_mdb_size.get_bytes() as usize;
let update_store_size = options.max_udb_size.get_bytes() as usize;