https://pantsbuild.org/ logo
#development
Title
# development
f

fast-nail-55400

10/18/2021, 9:25 PM
re nailgun, what controls the number of nailgun servers that are spawned? context: while working on the Java plugin, I see 16
Starting new nailgun server with cmd
log lines which seems excessive.
e

enough-analyst-54434

10/18/2021, 9:36 PM
It cribs from local parallelism: https://github.com/pantsbuild/pants/blob/6037e699b881011f845b5f7ad109fa8eae39cc3b/src/rust/engine/src/context.rs#L178-L191 So if 16 normal local Process executions can happen in parallel, a pool is created such that 16 JVM processes can be executed in parallel.
f

fast-nail-55400

10/18/2021, 9:37 PM
ack. that log line is info level, seems chatty then