Skip to content

Commit

Permalink
Update worker-group.md
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-geller committed Dec 4, 2024
1 parent 71f774f commit f2b3698
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/docs/06.enterprise/worker-group.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ tasks:
```

Possible values for `workerGroup.fallback` are `WAIT` (default), `FAIL`, or `CANCEL`:
- `WAIT`: The task will wait for the worker to be available.
- `FAIL`: The task run will be terminated immediately if the worker is not available.
- `CANCEL`: The task run will be gracefully killed if the worker is not available.
- `WAIT`: The task will wait for the worker to be available and will remain in a `CREATED` state until the worker picks it up.
- `FAIL`: The task run will be terminated immediately if the worker is not available and the execution will be marked as `FAILED`.
- `CANCEL`: The task run will be gracefully terminated and execution will be marked as `KILLED` without an error.

You can set a custom `workerGroup.key` and `workerGroup.fallback` per plugin type and/or per namespace using `pluginDefaults`.

Expand Down

0 comments on commit f2b3698

Please sign in to comment.