Configuring Queue Updates
The queue update thread performs two functions:
• | It goes through all the queues handled by the WIS process and checks for expired deadlines, priority escalations, redirection work, new or purged work items and so on. |
• | It calls the WQS process for a new queue to handle when required (i.e. when the WQS process has processed a MOVESYSINFO event and sent out an SE_WQSQUEUE_ADDED event to the WIS process). |
The queue update thread performs updates for WIS_UPDATE_LENGTH seconds or until all queues have been processed, at which point it will become idle for WIS_UPDATE_PERIOD seconds. If the thread hasn't gone through all the queues within the WIS_UPDATE_LENGTH time then it will start from the point it finished at on its previous update.
Note: The queue update thread performs its work independently of and concurrently with the RPC processing threads. In pre-10.4 versions of iProcess Engine, where the
WIS
process was single-threaded, the WIS
process had to switch between processing RPC requests and updating work queues.