mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
make the project compile again
This commit is contained in:
parent
46b8ebcab4
commit
7879189c6b
3 changed files with 8 additions and 8 deletions
|
@ -215,7 +215,7 @@ impl IndexScheduler {
|
|||
continue;
|
||||
}
|
||||
};
|
||||
let batch = match self.get_next_batch(&wtxn) {
|
||||
let mut batch = match self.get_next_batch(&wtxn) {
|
||||
Ok(batch) => batch,
|
||||
Err(e) => {
|
||||
log::error!("{}", e);
|
||||
|
@ -232,7 +232,7 @@ impl IndexScheduler {
|
|||
|
||||
fn process_batch(&self, wtxn: &mut RwTxn, batch: &mut Batch) -> Result<()> {
|
||||
match batch {
|
||||
Batch::One(task) => match task.kind {
|
||||
Batch::One(task) => match &task.kind {
|
||||
KindWithContent::ClearAllDocuments { index_name } => {
|
||||
self.index(&index_name)?.clear_documents()?;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue