Timing Out Web Requests
The minimum response time of web requests can be configured in the Web Options sheet of the Define Application dialog or by setting the
If the implications of the default timeout handling are undesirable, the
When the value of the TimeoutSentinel parameter is true, an instance of the web timeout sentinel application will be started in any schema out of which web applications are run. When a request exceeds the configured timeout, the web timeout sentinel sends a user interrupt to the process of that web worker. After the interrupt is received a message is sent to the browser client making the request and any further processing is aborted when the application next takes any action that can be interrupted. This allows the web worker application to resume processing further requests, at the cost of forcibly terminating any processing that was occurring. For more details, see "
Each instance of the web timeout sentinel application consumes one process license.
The user interrupt causes an exception to be raised. If your web application arms any local exception handlers, those handlers will be invoked as they would for any other exception. If any exception handler does not pass back exception 4035 (User interrupted method execution), it will be the responsibility of the handler to action the timeout.
Processes will not be interrupted part‑way through an operation (for example, a single method call will fully complete before the interrupt is actioned); however iteration will be interrupted on the step after the interrupt is received. An application that calls the
Web requests may not be timed out immediately when the timeout limit is exceeded. There may be a delay in the web timeout sentinel application actioning the timeout when the interrupt is received by the target process or when the target process actions the interrupt (or both).
If the timeout sentinel is enabled but the web timeout sentinel application has been terminated or is otherwise unavailable for any reason, warnings will be logged and web processing will attempt to continue but timeouts will not be actioned.
After being started, each instance of the web timeout sentinel application remains running until it is manually terminated or the system is shut down.
