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
C++ algoliadatastoreelasticsearchenterprise-searchfacetingfull-text-searchfuzzy-searchgeosearchin-memoryinstantsearchmerchandisingpineconesearchsearch-enginesemantic-searchsimilarity-searchsite-searchsynonymstypo-tolerancevector-search
Increase snapshot interval to 3600s.
kishorenceb0e5b9d1ec1
diff --git a/src/typesense_server_utils.cpp b/src/typesense_server_utils.cppindex 69f510ee..5b747ffd 100644--- a/src/typesense_server_utils.cpp+++ b/src/typesense_server_utils.cpp@@ -222,7 +222,7 @@ int start_raft_server(ReplicationState& replication_state, const std::string& st// Reference: https://github.com/apache/incubator-brpc/blob/122770d/docs/en/client.md#timeoutsize_t election_timeout_ms = 5000;- if (replication_state.start(peering_endpoint, api_port, election_timeout_ms, 600, state_dir,+ if (replication_state.start(peering_endpoint, api_port, election_timeout_ms, 3600, state_dir,nodes_config_op.get()) != 0) {LOG(ERROR) << "Failed to start peering state";exit(-1);