round up Transporter connect timeout
ndb/src/common/transporter/Transporter.cpp: change so timeout is rounded up to nearest second
This commit is contained in:
parent
8deeb2f95b
commit
68ab0996b4
@ -84,7 +84,7 @@ Transporter::Transporter(TransporterRegistry &t_reg,
|
|||||||
new SocketAuthSimple("ndbd",
|
new SocketAuthSimple("ndbd",
|
||||||
"ndbd passwd"));
|
"ndbd passwd"));
|
||||||
|
|
||||||
m_socket_client->set_connect_timeout(m_timeOutMillis/1000);
|
m_socket_client->set_connect_timeout((m_timeOutMillis+999)/1000);
|
||||||
}
|
}
|
||||||
DBUG_VOID_RETURN;
|
DBUG_VOID_RETURN;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user