Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Universal / mappings ++= {
}
}.value

Universal / javaOptions ++= Seq("-XX:MaxRAMPercentage=90.0")
Universal / javaOptions ++= Seq("-XX:MaxRAMPercentage=90.0", "-XX:ActiveProcessorCount=2")

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 MEDIUM RISK

In pods requesting more than two CPUs, JVM-sized worker pools can underutilize the available CPUs and reduce throughput. Pods requesting fewer CPUs will instead have their processor count overstated. Consider setting this value from each pod's CPU request, with a suitable default for non-Kubernetes deployments.

TIP React 👍 if this review is right, or reply with what's wrong and how it could be better to help improve the reviewer.


val dockerUser = "docker"
val dockerGroup = "docker"
Expand Down