Closed jtreanor closed 5 years ago
This fixes https://github.com/danger/peril/issues/440 by retrying the failed API requests up to 3 times. It also provides some resilience against 5xx failures. This is what Github recommends to work around the issue.
I thought about caching file contents as discussed in #440, but the failure could still happen when they are first requested so I think it's better to work around it completely.
There's, like, a module for everything in npm
Cool - yep, thanks!
Yeah 😂
Thanks!
This fixes https://github.com/danger/peril/issues/440 by retrying the failed API requests up to 3 times. It also provides some resilience against 5xx failures. This is what Github recommends to work around the issue.
I thought about caching file contents as discussed in #440, but the failure could still happen when they are first requested so I think it's better to work around it completely.