aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-09-25 14:16:55 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-09-25 14:19:24 +0300
commitee7891a0c412728cf8bec667f25263682a9baaaf (patch)
treeb4e8f14e84368c2ec3f9eea68f0973bb630824db
parent16ccb3a1cd9125eb24a5b45a98099ff98660767a (diff)
doc: Remove outdated comments
They are outdated since #14336.
-rw-r--r--src/init.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp
index ff36ec805c..10784c69e5 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -871,8 +871,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
- // <int> in std::min<int>(...) 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