Skip to content

Commit

Permalink
[RPC] Remove socket->SetTimeOut() (dmlc#1851)
Browse files Browse the repository at this point in the history
* update

* update

* update

* update

* udpate
  • Loading branch information
aksnzhy authored Jul 23, 2020
1 parent 0fb615b commit b885c82
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/rpc/network/socket_communicator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ bool SocketReceiver::Wait(const char* addr, int num_sender) {
}
// Initialize socket and socket-thread
server_socket_ = new TCPSocket();
server_socket_->SetTimeout(kTimeOut); // seconds
// Bind socket
if (server_socket_->Bind(ip.c_str(), port) == false) {
LOG(FATAL) << "Cannot bind to " << ip << ":" << port;
Expand Down

0 comments on commit b885c82

Please sign in to comment.