Commit 68ab0996 authored by unknown's avatar unknown
Browse files

round up Transporter connect timeout


ndb/src/common/transporter/Transporter.cpp:
  change so timeout is rounded up to nearest second
parent 8deeb2f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -84,7 +84,7 @@ Transporter::Transporter(TransporterRegistry &t_reg,
				      new SocketAuthSimple("ndbd",
							   "ndbd passwd"));

    m_socket_client->set_connect_timeout(m_timeOutMillis/1000);
    m_socket_client->set_connect_timeout((m_timeOutMillis+999)/1000);
  }
  DBUG_VOID_RETURN;
}