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
Update request timeouts
ozanarmaganda748654591b
diff --git a/src/http_proxy.cpp b/src/http_proxy.cppindex 6647074d..b2d2c684 100644--- a/src/http_proxy.cpp+++ b/src/http_proxy.cpp@@ -25,13 +25,13 @@ http_proxy_res_t HttpProxy::send(const std::string& url, const std::string& methhttp_proxy_res_t res;if(method == "GET") {- res.status_code = client.get_response(url, res.body, res.headers, headers);+ res.status_code = client.get_response(url, res.body, res.headers, headers, 30 * 1000);} else if(method == "POST") {- res.status_code = client.post_response(url, body, res.body, res.headers, headers);+ res.status_code = client.post_response(url, body, res.body, res.headers, headers, 30 * 1000);} else if(method == "PUT") {- res.status_code = client.put_response(url, body, res.body, res.headers);+ res.status_code = client.put_response(url, body, res.body, res.headers, 30 * 1000);} else if(method == "DELETE") {- res.status_code = client.delete_response(url, res.body, res.headers);+ res.status_code = client.delete_response(url, res.body, res.headers, 30 * 1000);} else {res.status_code = 400;nlohmann::json j;