From cd1af10a50b4d289bf031cb84b9ac5c0c82fd476 Mon Sep 17 00:00:00 2001 From: "Frank S. Thomas" Date: Tue, 6 Feb 2024 13:02:15 +0100 Subject: [PATCH] Increase default `--max-buffer-size` See https://github.com/VirtusLab/scala-steward-repos/issues/98#issuecomment-1929368687 --- docs/help.md | 2 +- .../src/main/scala/org/scalasteward/core/application/Cli.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/help.md b/docs/help.md index b114ff4f33..2dc529eb70 100644 --- a/docs/help.md +++ b/docs/help.md @@ -57,7 +57,7 @@ Options and flags: --disable-sandbox Whether to not use the sandbox --max-buffer-size - Size of the buffer for the output of an external process in lines; default: 16384 + Size of the buffer for the output of an external process in lines; default: 32768 --repo-config Additional repo config file (can be used multiple times) --disable-default-repo-config diff --git a/modules/core/src/main/scala/org/scalasteward/core/application/Cli.scala b/modules/core/src/main/scala/org/scalasteward/core/application/Cli.scala index b31da1ae57..dfbebffea9 100644 --- a/modules/core/src/main/scala/org/scalasteward/core/application/Cli.scala +++ b/modules/core/src/main/scala/org/scalasteward/core/application/Cli.scala @@ -196,7 +196,7 @@ object Cli { (whitelist, readOnly, enableSandbox).mapN(SandboxCfg.apply) private val maxBufferSize: Opts[Int] = { - val default = 16384 + val default = 32768 val help = s"Size of the buffer for the output of an external process in lines; default: $default" option[Int](name.maxBufferSize, help).withDefault(default)