Skip to content

Commit

Permalink
feat(): JDBC heartbeat doc (#534)
Browse files Browse the repository at this point in the history
* feat(): JDBC heartbeat doc

* Update content/docs/09.administrator-guide/01.configuration/04.others.md

Co-authored-by: Anna Geller <[email protected]>

---------

Co-authored-by: Anna Geller <[email protected]>
  • Loading branch information
Skraye and anna-geller authored Sep 26, 2023
1 parent 1bda2e9 commit c2a8b0e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions content/docs/09.administrator-guide/01.configuration/04.others.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,3 +280,21 @@ kestra:
}
</style>
```


## JDBC Healthcheck

JDBC have a healthcheck that will check every worker at every `frequency`.

* If the last healthcheck is older than `heartbeat-missed * frequency`, the worker will be marked as unhealthy.
* If the last healthcheck is older than `heartbeat-missed * frequency * 2`, the worker will be deleted.

If a worker is still running after being deleted, it will stop itself.

### `kestra.heartbeat.frequency`: Check frequency, in duration

Default value is `10s` or every 10 seconds.

### `kestra.heartbeat.heartbeat-missed`: Missed heartbeat allowed

Default value is `3` or 3 missed heartbeats allowed.

1 comment on commit c2a8b0e

@vercel
Copy link

@vercel vercel bot commented on c2a8b0e Sep 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.