We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aa3a4a commit ea93bbeCopy full SHA for ea93bbe
src/init.cpp
@@ -1019,7 +1019,7 @@ bool AppInitParameterInteraction(const ArgsManager& args)
1019
1020
// Trim requested connection counts, to fit into system limitations
1021
// <int> in std::min<int>(...) to work around FreeBSD compilation issue described in #2695
1022
- nFD = RaiseFileDescriptorLimit(nMaxConnections + MIN_CORE_FILEDESCRIPTORS + MAX_ADDNODE_CONNECTIONS);
+ nFD = RaiseFileDescriptorLimit(nMaxConnections + MIN_CORE_FILEDESCRIPTORS + MAX_ADDNODE_CONNECTIONS + nBind);
1023
#ifdef USE_POLL
1024
int fd_max = nFD;
1025
#else
0 commit comments