mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
fix a synchronization bug while importing tasks
This commit is contained in:
parent
a2384dc627
commit
6987bc185e
2 changed files with 16 additions and 12 deletions
|
@ -534,6 +534,7 @@ impl IndexScheduler {
|
|||
pub fn create_update_file(&self) -> Result<(Uuid, file_store::File)> {
|
||||
Ok(self.file_store.new_update()?)
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
pub fn create_update_file_with_uuid(&self, uuid: u128) -> Result<(Uuid, file_store::File)> {
|
||||
Ok(self.file_store.new_update_with_uuid(uuid)?)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue