Skip check for pollhup. (#9661)

This commit is contained in:
Jiaming Yuan 2023-10-13 14:35:14 +08:00 committed by GitHub
parent a5e07a01f8
commit 81a059864a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,9 +100,6 @@ std::enable_if_t<std::is_integral_v<E>, xgboost::collective::Result> PollError(E
if ((revents & POLLNVAL) != 0) {
return xgboost::system::FailWithCode("Invalid polling request.");
}
if ((revents & POLLHUP) != 0) {
return xgboost::system::FailWithCode("Poll hung up.");
}
return xgboost::collective::Success();
}