Skip check for pollhup. (#9661)
This commit is contained in:
parent
a5e07a01f8
commit
81a059864a
@ -100,9 +100,6 @@ std::enable_if_t<std::is_integral_v<E>, xgboost::collective::Result> PollError(E
|
|||||||
if ((revents & POLLNVAL) != 0) {
|
if ((revents & POLLNVAL) != 0) {
|
||||||
return xgboost::system::FailWithCode("Invalid polling request.");
|
return xgboost::system::FailWithCode("Invalid polling request.");
|
||||||
}
|
}
|
||||||
if ((revents & POLLHUP) != 0) {
|
|
||||||
return xgboost::system::FailWithCode("Poll hung up.");
|
|
||||||
}
|
|
||||||
return xgboost::collective::Success();
|
return xgboost::collective::Success();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user