diff --git a/etcd/Client.hpp b/etcd/Client.hpp index 2cb4a7f..6bc7d77 100644 --- a/etcd/Client.hpp +++ b/etcd/Client.hpp @@ -43,7 +43,7 @@ namespace etcd * @param load_balancer is the load balance strategy, can be one of round_robin/pick_first/grpclb/xds. */ Client(std::string const & etcd_url, - const unsigned int& timeout = std::numeric_limits::max(), + const long& timeout = std::numeric_limits::max(), std::string const & load_balancer = "round_robin"); /** @@ -59,7 +59,7 @@ namespace etcd Client(std::string const & etcd_url, std::string const & username, std::string const & password, - const unsigned int& timeout = std::numeric_limits::max(), + const long& timeout = std::numeric_limits::max(), std::string const & load_balancer = "round_robin"); /**