mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 00:31:02 +00:00
make scheduler accept multiple batch handlers
This commit is contained in:
@ -44,7 +44,7 @@ impl From<TaskContent> for TaskType {
|
||||
TaskContent::IndexDeletion => TaskType::IndexDeletion,
|
||||
TaskContent::IndexCreation { .. } => TaskType::IndexCreation,
|
||||
TaskContent::IndexUpdate { .. } => TaskType::IndexUpdate,
|
||||
TaskContent::Dump { path } => TaskType::Dump,
|
||||
TaskContent::Dump { .. } => TaskType::Dump,
|
||||
_ => unreachable!("unexpected task type"),
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user