Skip to content

Commit

Permalink
Hack to diagnose thread starvation (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
climategadgets committed Nov 18, 2023
1 parent 4264fbe commit ec338ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dz3r-app-springboot/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ jib {
}

container {
// VT: FIXME: Hack to see if there is thread starvation when running on boxes with few cores
jvmFlags =listOf("-Dreactor.schedulers.defaultPoolSize=20", "-Dreactor.schedulers.defaultBoundedElasticSize=200")
// Whatever profiles that are provided on the command line will be added to this one
args = listOf("--spring.profiles.active=docker")
workingDirectory = "${jib.container.appRoot}/app/"
Expand Down

0 comments on commit ec338ad

Please sign in to comment.