mirror of https://gitee.com/bigwinds/arangodb
increased default value for max-packet-size, added code comment
This commit is contained in:
parent
606c15ce48
commit
4727b44fe3
|
@ -54,7 +54,7 @@ ClientFeature::ClientFeature(application_features::ApplicationServer* server,
|
|||
_jwtSecret(""),
|
||||
_connectionTimeout(connectionTimeout),
|
||||
_requestTimeout(requestTimeout),
|
||||
_maxPacketSize(128 * 1024 * 1024),
|
||||
_maxPacketSize(1024 * 1024 * 1024),
|
||||
_sslProtocol(TLS_V12),
|
||||
_allowJwtSecret(allowJwtSecret),
|
||||
_retries(DEFAULT_RETRIES),
|
||||
|
@ -112,6 +112,8 @@ void ClientFeature::collectOptions(std::shared_ptr<ProgramOptions> options) {
|
|||
options->addOption("--server.request-timeout", "request timeout in seconds",
|
||||
new DoubleParameter(&_requestTimeout));
|
||||
|
||||
// note: the max-packet-size is used for all client tools that use the
|
||||
// SimpleHttpClient. fuerte does not use this
|
||||
options->addHiddenOption(
|
||||
"--server.max-packet-size",
|
||||
"maximum packet size (in bytes) for client/server communication",
|
||||
|
|
Loading…
Reference in New Issue