From 81a059864aafafa49f5d6bbc27560e74a722f939 Mon Sep 17 00:00:00 2001 From: Jiaming Yuan Date: Fri, 13 Oct 2023 14:35:14 +0800 Subject: [PATCH] Skip check for pollhup. (#9661) --- rabit/include/rabit/internal/socket.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/rabit/include/rabit/internal/socket.h b/rabit/include/rabit/internal/socket.h index f1a6699fb..89e324482 100644 --- a/rabit/include/rabit/internal/socket.h +++ b/rabit/include/rabit/internal/socket.h @@ -100,9 +100,6 @@ std::enable_if_t, 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(); }