1. Home
  2. Tyk Dashboard v1.x
  3. Endpoint Designer & Plugins
  4. Enforced Timeouts

Enforced Timeouts

Enforced timeouts are a good way to ensure that your service always responds within a given amount of time. Even if a long-running process hangs. This is important in high-availability systems where response performance is crucial so errors can be dealt with cleanly.

To enable an enforced timeout on an endpoint, simply select it from the drop down:

enter image description here

… and enter the timeout in seconds for the endpoint:

enter image description here

Service discovery

If you are using the service discovery option, hard timeouts will force the service discovery module to refresh the host / host list.