Skip to content

Commit cd1af10

Browse files
committed
Increase default --max-buffer-size
See VirtusLab/scala-steward-repos#98 (comment)
1 parent 9e6abfd commit cd1af10

File tree

2 files changed

+2
-2
lines changed
  • docs
  • modules/core/src/main/scala/org/scalasteward/core/application

2 files changed

+2
-2
lines changed

Diff for: docs/help.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Options and flags:
5757
--disable-sandbox
5858
Whether to not use the sandbox
5959
--max-buffer-size <integer>
60-
Size of the buffer for the output of an external process in lines; default: 16384
60+
Size of the buffer for the output of an external process in lines; default: 32768
6161
--repo-config <uri>
6262
Additional repo config file (can be used multiple times)
6363
--disable-default-repo-config

Diff for: modules/core/src/main/scala/org/scalasteward/core/application/Cli.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ object Cli {
196196
(whitelist, readOnly, enableSandbox).mapN(SandboxCfg.apply)
197197

198198
private val maxBufferSize: Opts[Int] = {
199-
val default = 16384
199+
val default = 32768
200200
val help =
201201
s"Size of the buffer for the output of an external process in lines; default: $default"
202202
option[Int](name.maxBufferSize, help).withDefault(default)

0 commit comments

Comments
 (0)