Skip to content

Commit

Permalink
max http request timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
WLBF committed Nov 14, 2018
1 parent 4a86b62 commit 5fc053d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elastic_client.hpp
Expand Up @@ -11,7 +11,7 @@ class elastic_client
{
public:
elastic_client(const std::vector<std::string> url_list, const std::string &user, const std::string &password)
:client(url_list, user, password, 100000) {};
:client(url_list, user, password, std::numeric_limits<int32_t>::max()) {};

void delete_index(const std::string &index_name);
void init_index(const std::string &index_name, const std::string &mappings);
Expand Down

0 comments on commit 5fc053d

Please sign in to comment.