Set upstream timeouts

Set a connect, read, and send upstream timeout of 5000 milliseconds. These settings will override any Gateway Service-level timeout settings.

Set up the plugin

Add this section to your declarative configuration file:

_format_version: "3.0"
plugins:
  - name: upstream-timeout
    config:
      connect_timeout: 5000
      read_timeout: 5000
      send_timeout: 5000
Copied to clipboard!

Did this doc help?

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!