Allow configuring amount of parallel query threads via system property
Add handling of org.simantics.db.queryThreads
system property to SessionImplSocket.getAmountOfQueryThreads
.
The code must ensure the input is valid, i.e:
- not < 1
- not >
Integer.highestOneBit(Runtime.getRuntime().availableProcessors())
- A power of two
If the input is invalid, log a warning and default to 1.