timeout

This command sets the time to wait for the event sink action to complete.

Syntax

timeout milliseconds

Parameters

milliseconds
Specifies the time to wait in milliseconds. A value of 0 indicates that the action waits indefinitely.

Guidelines

The timeout command sets the duration that an event sink action waits for its named actions to complete.

This command is meaningful only when the action type that is specified by the type command is event-sink.

Example

Indicate that the async-fetch action has only 1 second to complete. If it does not complete during this interval, it fails.
# type event-sink
# async-action async-fetch
# timeout 1000