Update packages/health-check/src/schedule.js

This commit is contained in:
Karol Wypchło 2020-08-26 14:11:26 +02:00 committed by GitHub
parent bcab934a97
commit 401c592e56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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("* 3 * * *", async () => {
const verboseJob = schedule.scheduleJob("0 3 * * *", async () => {
const entry = { date: new Date().toISOString(), checks: [] };
entry.checks = await Promise.all(verboseChecks.map((check) => new Promise(check)));