mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-04-04 14:29:47 +00:00
chore: Add changes
This commit is contained in:
@@ -37,18 +37,15 @@ async function timeoutHealth(
|
||||
* The stop function is used to stop the health check.
|
||||
*/
|
||||
|
||||
export default function healthRunner(
|
||||
name: string,
|
||||
fn: HealthCheck,
|
||||
) {
|
||||
export default function healthRunner(name: string, fn: HealthCheck) {
|
||||
return {
|
||||
/**
|
||||
* All values in seconds. Defaults):
|
||||
*
|
||||
*
|
||||
* interval: 60s
|
||||
*
|
||||
*
|
||||
* timeout: 10s
|
||||
*
|
||||
*
|
||||
* delay: 10s
|
||||
*/
|
||||
create(
|
||||
|
||||
Reference in New Issue
Block a user