On systems such as NetBSD, the bitcoind
typically prints the following warning:
0Warning: Reducing -maxconnections from 125 to 96, because of system limitations.
This breaks the functional test framework (see #23968).
This PR limits the -maxconnections
to mitigate the issue and enable functional tests on NetBSD.
Fixes #23968.
Here is CI log from the bitcoin-core-nightly
repository: https://github.com/hebasto/bitcoin-core-nightly/actions/runs/12415868523/job/34663207030