every 5 minutes for debugging

This commit is contained in:
Karol Wypchlo 2020-08-26 16:06:45 +02:00
parent 7e90b6f4dd
commit 843fcfde97
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ const basicJob = schedule.scheduleJob("*/5 * * * *", async () => {
});
// execute the verbose health-check script once a day at 3am
const verboseJob = schedule.scheduleJob("0 3 * * *", async () => {
const verboseJob = schedule.scheduleJob("*/5 * * * *", async () => {
const entry = { date: new Date().toISOString(), checks: [] };
entry.checks = await Promise.all(verboseChecks.map((check) => new Promise(check)));