This service is calling another service:
https://github.com/Deadlink-Hunter/Broken-Link-Checker
That returns a list of links with broken or not status, it looks like this:
const links = await githubRepoService.getLinksFromReadme(randomRepo);
This is inside the server.ts file.
The problem is that when we have a repo with a lot of links those requests takes too much time and we are getting out of time error form axios.
We need to incread API_TIMEOUT constant to 45000 so that the server will be able to run for more than 10 seconds
This service is calling another service:
https://github.com/Deadlink-Hunter/Broken-Link-Checker
That returns a list of links with broken or not status, it looks like this:
const links = await githubRepoService.getLinksFromReadme(randomRepo);This is inside the
server.tsfile.The problem is that when we have a repo with a lot of links those requests takes too much time and we are getting out of time error form axios.
We need to incread
API_TIMEOUTconstant to45000so that the server will be able to run for more than 10 seconds