Add a missing cancelation call for hannoy

This commit is contained in:
Kerollmops
2025-08-06 15:11:59 +02:00
committed by Louis Dureuil
parent 900e8a0d9c
commit e000df8646

View File

@ -153,6 +153,8 @@ impl VectorStore {
if writer.need_build(wtxn)? {
writer
.builder(rng)
// .progress(|step| progress.update_progress_from_hannoy(step))
.cancel(cancel)
.ef_construction(HANNOY_EF_CONSTRUCTION)
.build::<HANNOY_M, HANNOY_M0>(wtxn)?
} else if writer.is_empty(wtxn)? {