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
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
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
}