tn.task.sweepTime
Number of seconds the task manager thread remains idle before checking for tasks it needs to perform (for example, a task to deliver a document or execute a service). The thread becomes idle when all tasks are completed, failed, or in the wait period between attempts. The thread waits the number of seconds you specify with this property before waking up to check for tasks it needs to process. The tasks that the task manager tries to process when it wakes up are those tasks that failed on their last attempt and have not yet reached their retry limit.
The minimum allowable setting for this property is 1 second. If you try to set this property lower than 1 second, the task manager remains idle for 1 second before checking for tasks it needs to perform. The default is 300.
Note: The task manager wakes up immediately when a new task arrives.
This property can affect how long to wait between attempts to retry a task. Typically, the wait between retries is governed by one of the tasks listed in the table:
Task | Governing Property |
Delivery | The Wait between retries specified in the delivery settings of the receiving partner's profile. |
Service execution | |
However, Trading Networks could wait as long as this property specifies. If the task manager thread is idle when the wait between retries expires, the task manager thread will not wake up to process the task until the tn.task.sweepTime expires.