| 132 | } |
| 133 | |
| 134 | void Linkers::SetLinker(int rank, const TcpSocket& socket) { |
| 135 | linkers_[rank].reset(new TcpSocket(socket)); |
| 136 | // set timeout |
| 137 | linkers_[rank]->SetTimeout(socket_timeout_ * 1000 * 60); |
| 138 | } |
| 139 | |
| 140 | void Linkers::ListenThread(int incoming_cnt) { |
| 141 | Log::Info("Listening..."); |
nothing calls this directly
no test coverage detected