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 14a44776f6
commit 8514c1c12b
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
3 changed files with 3 additions and 7 deletions

View file

@ -718,7 +718,7 @@ impl IndexScheduler {
Some(batch) => batch,
None => return Ok(0),
};
drop(rtxn); //rtxn.commit()?;
drop(rtxn);
// 1. store the starting date with the bitmap of processing tasks.
let mut ids = batch.ids();