I’m using Flowable 6.2.1 with flowable-task installed as a web application and using PostgreSQL as the database. I have a very simple test process definition containing only one service task (which is defined as async). My custom java code (JavaDelegate implementation) is working properly. When I start 1000 process instances using the API, they all get process ınstance ids and async job executor starts processing them. However, it starts with only 2 threads (as expected by the default values) and does not increase the thread count although there are about 1000 async jobs waiting in ACT_RU_JOB table (some has locks and expire times and some or not). As I see in the documents, the default max thread pool size is 10 but I never see third thread starting, only two are working till all process instances are complete.
I tried changing pool parameters by adding these to the “flowable-ui-app.properties”:
But nothing has changed, only two threads are working.
Please tell me what I’m doing wrong and how to configure async job executor thread pool parameters for the flowable-task application properly.