mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Send channel notification when clearing documents
This commit is contained in:
parent
c08dcac1d4
commit
a43b37dfc1
1 changed files with 1 additions and 0 deletions
|
@ -167,6 +167,7 @@ impl Index {
|
|||
}
|
||||
|
||||
pub fn clear_all(&self, writer: &mut heed::RwTxn) -> MResult<u64> {
|
||||
let _ = self.updates_notifier.send(());
|
||||
update::push_clear_all(writer, self.updates, self.updates_results)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue