Change timeout type.
This commit is contained in:
parent
ed199295f3
commit
252b686fd8
|
|
@ -43,7 +43,7 @@ namespace etcd
|
||||||
* @param load_balancer is the load balance strategy, can be one of round_robin/pick_first/grpclb/xds.
|
* @param load_balancer is the load balance strategy, can be one of round_robin/pick_first/grpclb/xds.
|
||||||
*/
|
*/
|
||||||
Client(std::string const & etcd_url,
|
Client(std::string const & etcd_url,
|
||||||
const unsigned int& timeout = std::numeric_limits<unsigned int>::max(),
|
const long& timeout = std::numeric_limits<long>::max(),
|
||||||
std::string const & load_balancer = "round_robin");
|
std::string const & load_balancer = "round_robin");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -59,7 +59,7 @@ namespace etcd
|
||||||
Client(std::string const & etcd_url,
|
Client(std::string const & etcd_url,
|
||||||
std::string const & username,
|
std::string const & username,
|
||||||
std::string const & password,
|
std::string const & password,
|
||||||
const unsigned int& timeout = std::numeric_limits<unsigned int>::max(),
|
const long& timeout = std::numeric_limits<long>::max(),
|
||||||
std::string const & load_balancer = "round_robin");
|
std::string const & load_balancer = "round_robin");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue