Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gmmorris committed Nov 2, 2020
1 parent 9108d13 commit 583ff0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x-pack/plugins/task_manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,10 @@ The task runner's `run` method is expected to return a promise that resolves to
Other return values will result in a warning, but the system should continue to work.

### Task retries when the Task Runner fails
If a task runner throws an error, task manager will try to rerun the task shortly after (up to the task definition's `maxAttampts`).
If a task runner throws an error, task manager will try to rerun the task shortly after (up to the task definition's `maxAttempts`).
Normal tasks will wait a default amount of 5m before trying again and every subsequent attempt will add an additonal 5m cool off period to avoid a stampeding herd of failed tasks from storming Elasticsearch.

Recurring tasks will also get retried, but instead of using the 5m interval for the retry, they will be retried on their nex tscheduled run.
Recurring tasks will also get retried, but instead of using the 5m interval for the retry, they will be retried on their next scheduled run.

### Force failing a task
If you wish to purposfully fail a task, you can throw an error of any kind and the retry logic will apply.
Expand Down

0 comments on commit 583ff0b

Please sign in to comment.