Skip to content

Commit

Permalink
[coll] Increase listener backlog.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Sep 30, 2024
1 parent 429f956 commit f692c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/xgboost/collective/socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ class TCPSocket {
/**
* @brief Listen to incoming requests. Should be called after bind.
*/
[[nodiscard]] Result Listen(std::int32_t backlog = 16) {
[[nodiscard]] Result Listen(std::int32_t backlog = 256) {
if (listen(handle_, backlog) != 0) {
return system::FailWithCode("Failed to listen.");
}
Expand Down

0 comments on commit f692c74

Please sign in to comment.