timeout

This block is part of the http connection group and was last modified in core v10.3.11.

timeout v10.3.11

Updates the default connection timeout of 120 seconds

In pins 2 + flow
  • flow
    flow
  • connection required
    httpconnection
  • seconds required
    number

    Number of seconds the connection should wait before closing, a number between 1 and 600. We currently do not allow connections to exceed 10 minutes of wait time.

Out pins 1 + flow
  • flow
    flow
  • connection
    httpconnection

Overrides the cluster default request timeout for this request, in seconds; the deadline is derived from the original request context, so it can EXTEND an already-shortened timeout. Values <= 1 or above 600 are silently ignored : note 1 is rejected, so the effective range is 2-600. The connection passes through unchanged.

A typical wiring for timeout: a function trigger starts the flow; the flow out pin feeds debug.

Studio canvas example for the timeout block: typical wiring for timeout.

Version history

Introduced in v10.3.11.


Back to http connection Return to the main group to view all sub-groups Back to response Return to the group to view all blocks within this group