diff --git a/src/init.cpp b/src/init.cpp index eac1715090..baf81eb0cd 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1261,8 +1261,6 @@ bool AppInitParameterInteraction(const ArgsManager& args) nUserMaxConnections = args.GetArg("-maxconnections", DEFAULT_MAX_PEER_CONNECTIONS); nMaxConnections = std::max(nUserMaxConnections, 0); - // Trim requested connection counts, to fit into system limitations - // in std::min(...) to work around FreeBSD compilation issue described in #2695 nFD = RaiseFileDescriptorLimit(nMaxConnections + MIN_CORE_FILEDESCRIPTORS + MAX_ADDNODE_CONNECTIONS + nBind + NUM_FDS_MESSAGE_CAPTURE); #ifdef USE_POLL