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

Reduce noise of per-collection housekeeping log.

Kishore Nallan07255dfecbf4
diff --git a/src/housekeeper.cpp b/src/housekeeper.cpp
index 07150e11..370a3074 100644
--- a/src/housekeeper.cpp
+++ b/src/housekeeper.cpp
@@ -31,7 +31,10 @@ void HouseKeeper::run() {
}
coll->do_housekeeping();
- LOG(INFO) << "Ran housekeeping.";
+ }
+
+ if(!coll_names.empty()) {
+ LOG(INFO) << "Ran housekeeping for " << coll_names.size() << " collections.";
}
prev_persistence_s = std::chrono::duration_cast<std::chrono::seconds>(