Skip to content

Commit 73ad044

Browse files
committed
[docs] Call timeout expression default value
1 parent 1ba7bd9 commit 73ad044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/handbook/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ The state machine callback moments are exposed to the AliECS workflow template i
6363
* `func` - mandatory, it parses as an [`antonmedv/expr`](https://github.com/antonmedv/expr) expression that corresponds to a call to a function that belongs to an integration plugin object (e.g. `bookkeeping.StartOfRun()`, `dcs.EndOfRun()`, etc.).
6464
* `trigger` - mandatory, the expression at `func` will be executed once the state machine reaches this moment.
6565
* `await` - optional, if absent it defaults to the same as `trigger`, the expression at `func` needs to finish by this moment, and the state machine will block until `func` completes.
66-
* `timeout` - optional, Go `time.Duration` expression, the maximum time `func` will be granted to complete before its context is invalidated.
66+
* `timeout` - optional, Go `time.Duration` expression, defaults to `30s`, the maximum time `func` will be granted to complete before its context is invalidated.
6767
* `critical` - optional, it defaults to `true`, if `true` then a failure or timeout for `func` will send the environment state machine to `ERROR`.
6868

6969
Consider the following example:

0 commit comments

Comments
 (0)