Fix news cron locks and fetching to work more than once per day.

This commit is contained in:
Bruno Bernardino
2024-04-19 12:19:26 +01:00
parent a8076f6420
commit 2920de90b6
4 changed files with 18 additions and 8 deletions

View File

@@ -121,7 +121,7 @@ export async function concurrentPromises<T>(
return results;
}
const MAX_RESPONSE_TIME_IN_MS = 10 * 1000;
const MAX_RESPONSE_TIME_IN_MS = 10_000;
export async function fetchUrl(url: string) {
const abortController = new AbortController();