Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce CLI option for input buffer size #6211

Merged
merged 2 commits into from
Jun 4, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -266,14 +266,19 @@ object Cli {
.optional()
.action((value, config) =>
config.copy(commandConfig = config.commandConfig.copy(maxCommandsInFlight = value)))
.text("The maximum number of unconfirmed commands in flight in CommandService.")
.text("Maximum number of submitted commands waiting for completion for each party (only applied when using the CommandService). Overflowing this threshold will cause back-pressure, signaled by a RESOURCE_EXHAUSTED error code. Default is 256.")

opt[Int]("max-parallel-submissions")
.optional()
.action((value, config) =>
config.copy(commandConfig = config.commandConfig.copy(maxParallelSubmissions = value)))
.text(
"The maximum number of parallel command submissions. Only applicable to sandbox-classic.")
.text("Maximum number of successfully interpreted commands waiting to be sequenced (applied only when running sandbox-classic). The threshold is shared across all parties, overflowing it will cause back-pressure, signaled by a RESOURCE_EXHAUSTED error code. Default is 512.")
stefanobaghino-da marked this conversation as resolved.
Show resolved Hide resolved

opt[Int]("input-buffer-size")
.optional()
.action((value, config) =>
config.copy(commandConfig = config.commandConfig.copy(inputBufferSize = value)))
.text("The maximum number of commands waiting to be submitted for each party. Overflowing this threshold will cause back-pressure, signaled by a RESOURCE_EXHAUSTED error code. Default is 512.")

opt[Long]("max-lf-value-translation-cache-entries")
.optional()
Expand Down