Commit 68ab0996 authored by unknown's avatar unknown

round up Transporter connect timeout


ndb/src/common/transporter/Transporter.cpp:
  change so timeout is rounded up to nearest second
parent 8deeb2f9
...@@ -84,7 +84,7 @@ Transporter::Transporter(TransporterRegistry &t_reg, ...@@ -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;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment