Thread Pool Configuration
Various tasks require running SIL programs in the background. Some Certain examples include Power Actions for Jira app or Power Scripts for Jira gadget scripts. These tasks are run in a special thread pool.
...
With the 4.0 version, we have unified this thread pool across the apps, and now all the apps use the same thread pool; a previous . Previous consolidation happened at version 3.x. This is of high importance because now all the background tasks will be are placed in this thread pool - and only this.
To configure it specify:
- Threads - the number of running threads (number of SIL scripts running in the same time).
- Time to Live (TTL) - time to live (running time for a SIL script). If you run a task that takes more than TTL configured, the script will end ends with no result.
- Checkpoint Interval - interval to clean up the expired tasks (the SIL scripts that exceeds the TTL configured). The pool is maintained by a watchdog thread, and the checkpoint interval determines the interval between checks.
...
Info | ||
---|---|---|
| ||
The page shows also the maximum task queue length and the current tasks that are running. If your number of threads is constantly under the the max reached queue length, consider increasing the thread pool size. If you run reporting tasks, that may gather data from multiple sources and take a long time to complete, please increase both the number of threads (if the pool is occupied with those tasks) and the TTL so that the tasks/results will not be removed prematurely too early from the queue. |