Auto-Assignment timeout setting

The performance of Auto-Assignment can be affected by timeout settings configured for database queries, job scheduler tasks, and Auto-Assignment itself. For example, increasing the timeout for Auto-Assignment allows the optimization engine to spend more time to find the best possible schedule result. But, the time required to produce all the schedules may be increased beyond an acceptable time frame with only minimal improvements to schedule efficiency or coverage. Misconfiguration of the timeout settings can also prevent Auto-Assignment runs from completing. For example, if the job scheduler task timeout is not long enough, job scheduler tasks could timeout before the optimization engine is finished processing an Auto-Assignment run.

These registry parameters control the relevant timeouts, and should be considered together according to the customer's requirements:
Registry Parameter Function Recommendation
AS_TIMEOUT_SECONDS Determines the length of time that an Auto-Assignment process can run on the optimization engine. Leave as default. The number of seconds can be reduced if schedules are taking too long to generate.
TASK_TIMEOUT This parameter specifies the rate at which job scheduler tasks must produce a heartbeat before being stopped by the job scheduler. Should be set to at least 15 minutes longer than the AS_TIMEOUT_SECONDS registry parameter. For example, if AS_TIMEOUT_SECONDS is set to 3600 seconds (60 minutes or 3600000 milliseconds), TASK_TIMEOUT should be set to at least 4500000 milliseconds (75 minutes).
COMMIT_ROLLBACK_SEGMENT_TIMEOUT This parameter prevents long running (possibly locking) database transactions from locking up the entire application. Set to at least 300 seconds.
QUERY_TIMEOUT This parameter is used to specify the length of time to wait before timing out any long-running, potentially locking queries with an SQLException being thrown from the database side. Set to at least 300 seconds.

For more details, see the Infor WFM Registry Parameter Reference Guide.