chore: Add changes

This commit is contained in:
BluJ
2023-04-05 14:48:51 -06:00
parent 45192e0358
commit 5414b301f3
15 changed files with 326 additions and 97 deletions

View File

@@ -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(