Skip to content

Commit

Permalink
chore: refactor according to review
Browse files Browse the repository at this point in the history
  • Loading branch information
IronCore864 committed Jan 24, 2025
1 parent 72aa931 commit 52480d0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/how-to/run-services-reliably.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ checks:
url: http://127.0.0.1:5000/health
```
The configuration above contains three key options that we can tweak for each health check:
- `period`: How often to run the check.
- `timeout`: If the check hasn't responded before the timeout, consider the check an error.
- `threshold`: After this many consecutive errors the check considered "down".

If we're happy with the default values, a minimum check looks like the following:

```yaml
Expand Down

0 comments on commit 52480d0

Please sign in to comment.