Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

Warning

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !

The Asynchronous runner is located in Managed Apps under Jira Administration

Thread Pool Configuration

Various tasks require running SIL SIL™ programs in the background. Some Certain examples include Power Actions Actions™ for Jira app or Power Scripts Scripts™ for Jira gadget scripts. These tasks are run in a special thread pool. 


Excerpt

Thread pool configuration is easy, however you must understand the implications of each parameter since they may affect the tasks that are run in the background.

 


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 SIL™ scripts running in the same time).
  • Time to Live (TTL) - time to live (running time for a SIL 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 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
titleTips

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.