The max-spare-threads Element
From Documentation
Syntax:
<max-spare-threads>a_number</max-spare-threads>
[Default: 100]
It specifies the maximal allowed number of the thread pool for queuing the idle event processing threads. ZK will reuse the idle event processing threads by keeping them in a thread pool. The number specified here then controls the maximal size of the pool.
A negative value indicates there is no limit. Zero means no pool at all.
Version History
Version | Date | Content |
---|---|---|