1
0
Fork 0

fix description of NetworkFeature options

This commit is contained in:
jsteemann 2019-11-14 13:53:23 +01:00
parent 2c4f7bb983
commit 373a7ca0e0
1 changed files with 9 additions and 5 deletions

View File

@ -81,18 +81,22 @@ NetworkFeature::NetworkFeature(application_features::ApplicationServer& server,
}
void NetworkFeature::collectOptions(std::shared_ptr<options::ProgramOptions> options) {
options->addSection("--network", "Networking ");
options->addSection("network", "Configure cluster-internal networking");
options->addOption("--network.io-threads", "number of network IO threads",
new UInt32Parameter(&_numIOThreads));
new UInt32Parameter(&_numIOThreads))
.setIntroducedIn(30600);
options->addOption("--network.max-open-connections",
"max open network connections",
new UInt64Parameter(&_maxOpenConnections));
new UInt64Parameter(&_maxOpenConnections))
.setIntroducedIn(30600);
options->addOption("--network.idle-connection-ttl",
"default time-to-live of idle connections (in milliseconds)",
new UInt64Parameter(&_idleTtlMilli));
new UInt64Parameter(&_idleTtlMilli))
.setIntroducedIn(30600);
options->addOption("--network.verify-hosts", "verify hosts when using TLS",
new BooleanParameter(&_verifyHosts));
new BooleanParameter(&_verifyHosts))
.setIntroducedIn(30600);
_gcfunc = [this](bool canceled) {
if (canceled) {