round up Transporter connect timeout
This commit is contained in:
parent
4984af30ec
commit
5b886fa358
@ -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