Link Search Menu Expand Document

RG-USG-001 No Hard-Coded Timeouts

Description

This rule inspects the timeout property for hard-coded values.

Impact

Hard-coded values for the timeout property hinder the scalability of the code. For example, if the business requires that the timeout for all activities be increased, each activity will need to be manually identified and changed - lengthening update turnaround. These changes are common during the development lifecycle.

Mitigation

Avoid using hardcoded values for activity properties. Timeouts are centrally managed either in the project settings, if timeouts are not configured from there, these should be specified in the Config file.

Further Reading