We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5918754 commit e372b1cCopy full SHA for e372b1c
sitio/src/routes/api/internal/healthcheck/+server.ts
@@ -39,8 +39,8 @@ export async function GET() {
39
40
if (lastScrap) {
41
const delta = +new Date() - +lastScrap.finishedAt;
42
- if (delta > 31 * 60 * 1000) {
43
- errors.push(`último scrap hace ${delta}ms (>31min)`);
+ if (delta > 38 * 60 * 1000) {
+ errors.push(`último scrap hace ${delta}ms (>38min)`);
44
}
45
if (lastScrap.totalTweetsSeen && lastScrap.totalTweetsSeen < 10) {
46
errors.push(`solo ${lastScrap.totalTweetsSeen} tweets vistos (<10)`);
0 commit comments