Set the maximum number of threads to spawn
Note that this isn't necessarily the maximum number of threads which could be in use, since threads spawned prior to lowering this value will not be destroyed until max idle time is exceeded.
If you want to increase the maximum number of threads, you should use increase_max_threads instead.
value |
the maximum number of threads, or -1 for unlimited |