jpos / jPOS

jPOS Project
http://jpos.org
GNU Affero General Public License v3.0
599 stars 458 forks source link

Allow setting of a higher `corePoolSize` while creating new `ScheduledThreadPoolExecutor` #559

Closed sumeetphadnis closed 11 months ago

sumeetphadnis commented 11 months ago

At present ConcurrentUtil.newScheduledThreadPoolExecutor(), which is called from QBeanSupport.getScheduledThreadPoolExecutor(), hard-codes corePoolSize to 1. This change allows us to set a higher value via a configuration property named stpe-core-pool-size