Remove a sync_all (mark my words)

This commit is contained in:
Clément Renault 2024-12-02 10:44:42 +01:00
parent bcab61ab1d
commit 5e218f3f4d
No known key found for this signature in database
GPG Key ID: F250A4C4E3AE5F5F

View File

@ -489,7 +489,6 @@ impl<'b> ExtractorBbqueueSender<'b> {
}
let value_file = value_file.into_inner().map_err(|ie| ie.into_error())?;
value_file.sync_all()?;
let embeddings = unsafe { Mmap::map(&value_file)? };
let large_vectors = LargeVectors { docid, embedder_id, embeddings };