mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
mon/MonClient: use mon_client_ping_timeout during ping_monitor
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
This commit is contained in:
parent
c1a43ca22e
commit
c18cfb734e
@ -233,7 +233,7 @@ int MonClient::ping_monitor(const string &mon_id, string *result_reply)
|
||||
con->send_message(new MPing);
|
||||
|
||||
pinger->lock.Lock();
|
||||
int ret = pinger->wait_for_reply(cct->_conf->client_mount_timeout);
|
||||
int ret = pinger->wait_for_reply(cct->_conf->mon_client_ping_timeout);
|
||||
if (ret == 0) {
|
||||
ldout(cct,10) << __func__ << " got ping reply" << dendl;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user