mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
chore: Bump dependencies
This commit is contained in:
parent
1b18679950
commit
69e0bae75e
3 changed files with 9 additions and 8 deletions
|
@ -154,7 +154,8 @@ fn index(
|
|||
// write stats
|
||||
let directory_size = Walk::new(&[database_path.to_owned()], 4).run();
|
||||
system.refresh_all();
|
||||
let memory = system.get_process(sysinfo::get_current_pid()).unwrap().memory(); // in kb
|
||||
let pid = sysinfo::get_current_pid()?;
|
||||
let memory = system.get_process(pid).unwrap().memory(); // in kb
|
||||
wtr.write_record(&[i.to_string(), directory_size.to_string(), memory.to_string()])?;
|
||||
wtr.flush()?;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue