numThreads
A value that controls the number of workers running snapshots at the same time.
By default, it will try to use a sensible number based on the number of this machine's processors (see Runtime.availableProcessors.
If set to 1, parallelism will be disabled and snapshots will occur sequentially.
Instead of setting this in your Gradle build script, you can also set the Gradle property kobweb.export.numThreads or the environment variable KOBWEB_EXPORT_NUM_THREADS (which may be convenient as it allows you to use a different value based on which environment you are exporting in, e.g. home machine vs CI).
When setting via system property or env var, you can also use special-case string values. "max" means use as many threads as cores on the machine. "half" means use half. And "high" means use 75%. That way, you can specify a simple value even on a machine you don't know much about (like a CI).