Skip to content

Commit e372b1c

Browse files
committedMar 10, 2025
auemntar tiempo healthcechk
1 parent 5918754 commit e372b1c

File tree

1 file changed

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

1 file changed

+2
-2
lines changed
 

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ export async function GET() {
3939

4040
if (lastScrap) {
4141
const delta = +new Date() - +lastScrap.finishedAt;
42-
if (delta > 31 * 60 * 1000) {
43-
errors.push(`último scrap hace ${delta}ms (>31min)`);
42+
if (delta > 38 * 60 * 1000) {
43+
errors.push(`último scrap hace ${delta}ms (>38min)`);
4444
}
4545
if (lastScrap.totalTweetsSeen && lastScrap.totalTweetsSeen < 10) {
4646
errors.push(`solo ${lastScrap.totalTweetsSeen} tweets vistos (<10)`);

0 commit comments

Comments
 (0)
Failed to load comments.