Skip to content

Commit

Permalink
🪵 some cron logs
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultleouay committed Apr 18, 2024
1 parent 1965be8 commit 18cf35d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/web/src/app/api/checker/cron/_cron.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export const cron = async ({
});
allResult.push(response);
if (periodicity === "30s") {
console.log("30s cron for", row.id, region, status);
// we schedule another task in 30s
const scheduledAt = timestamp + 30 * 1000;
const response = createCronTask({
Expand Down

0 comments on commit 18cf35d

Please sign in to comment.