Getting started Community Training Tutorials Documentation APIs, AI & Tools
- policyRef:
name: response-timeout-flex
config:
timeout: number // REQUIRED
Policy Name |
Response Timeout |
Summary |
Sets the maximum duration that Omni Gateway waits for a response from an upstream service |
Category |
Quality of Service |
First Omni Gateway version available |
v1.9.0 |
Release Notes |
|
Returned Status Codes |
504 - Upstream request timeout |
The Response Timeout policy enables you to set the maximum duration that Omni Gateway waits for a response from an upstream service. The timeout time starts at the last request sent by Omni Gateway.
By default, all Omni Gateway API instances have a response timeout of 15 seconds. Apply the policy to override the default timeout.
When you apply the policy via declarative configuration files, Refer to the following policy definition and table of parameters:
- policyRef:
name: response-timeout-flex
config:
timeout: number // REQUIRED
| Parameter | Required or Optional | Default Value | Description |
|---|---|---|---|
|
Required |
15 |
Time in seconds Omni Gateway waits for the response. |