Apply review suggestions and stop using rtxn.commit

This commit is contained in:
Loïc Lecrenier
2022-10-19 07:34:10 +02:00
committed by Clément Renault
parent 17cd2a4aa0
commit 11fee30f47
3 changed files with 3 additions and 7 deletions

View File

@ -80,8 +80,6 @@ pub fn snapshot_index_scheduler(scheduler: &IndexScheduler) -> String {
snap.push_str(&snapshot_file_store(file_store));
snap.push_str("\n----------------------------------------------------------------------\n");
rtxn.commit().unwrap();
snap
}