The documentation says :
Use @IOIntensive
annotation for all Java classes. This will cause the class to run in a separate thread pool. Otherwise it runs in an I/O thread, which is in the core thread pool and has the potential to block the CPU"
Is there a default size for this thread pool ? What would that be ? Can it be configured ? If yes, How ?
Solved! Go to Solution.
@Venkataraghavan I believe the default is 100. You can find it in the message-processor's threadpool.properties file.
# the maximum number of threads to allow in the pool. # if commented, defaults to 100 maximum.pool.size=100
@Venkataraghavan I believe the default is 100. You can find it in the message-processor's threadpool.properties file.
# the maximum number of threads to allow in the pool. # if commented, defaults to 100 maximum.pool.size=100
Hi @Venkataraghavan and @arghya das - @Peter Johnson just pinged me with a correction to that best practices content. All JavaCallouts are now run on the async thread pool, so I've removed that note about IOIntensive. It's not required.
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 |