Skip to content

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

Disable periodic hnsw repair.

Kishore Nallanec61706c05d6
diff --git a/src/housekeeper.cpp b/src/housekeeper.cpp
index 45c41dd2..109d418c 100644
--- a/src/housekeeper.cpp
+++ b/src/housekeeper.cpp
@@ -31,7 +31,7 @@ void HouseKeeper::run() {
}
}
- if(now_ts_seconds - prev_hnsw_repair_s >= hnsw_repair_interval_s) {
+ /*if(now_ts_seconds - prev_hnsw_repair_s >= hnsw_repair_interval_s) {
// iterate through all collections and repair all hnsw graphs (if any)
auto coll_names = CollectionManager::get_instance().get_collection_names();
@@ -53,7 +53,7 @@ void HouseKeeper::run() {
prev_hnsw_repair_s = std::chrono::duration_cast<std::chrono::seconds>(
std::chrono::system_clock::now().time_since_epoch()).count();
- }
+ }*/
lk.unlock();
}