Skip to content

Commit 45e87cc

Browse files
committed
alert less often
1 parent f8ccead commit 45e87cc

File tree

1 file changed

+1
-1
lines changed
  • sitio/src/routes/api/internal/healthcheck

1 file changed

+1
-1
lines changed

sitio/src/routes/api/internal/healthcheck/+server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export async function GET() {
5353
} else errors.push("no hay scraps");
5454
if (lastScrapWithRetweets && lastScrapWithRetweets.length > 0) {
5555
const delta = +new Date() - +lastScrapWithRetweets[0].finishedAt;
56-
if (delta > 12 * 60 * 60 * 1000) {
56+
if (delta > 16 * 60 * 60 * 1000) {
5757
errors.push(
5858
`último scrap con ${lastScrapWithRetweets[0].count} retweets hace ${delta}ms (>12h)`,
5959
);

0 commit comments

Comments
 (0)