mirror of
https://github.com/godotengine/godot-interactive-changelog.git
synced 2026-01-04 02:10:03 +03:00
compose-fetcher: Update node-fetch to 2.7.0 and increase max retries to 10
The library update seems to replace the abrupt closing of the app with no error
with actually raising an exception which we already handled.
So now failures look like this:
Requesting batch 10/17 of commit and pull request data.
Failed with status 502, retrying (1/10)...
Error fetching pull request data: FetchError: Invalid response body while trying to fetch https://api.github.com/graphql: Premature close
Terminating with an exit code 1.
This commit is contained in:
@@ -11,7 +11,7 @@ const LogFormat = {
|
||||
};
|
||||
|
||||
const API_DELAY_MSEC = 2500;
|
||||
const API_MAX_RETRIES = 5;
|
||||
const API_MAX_RETRIES = 10;
|
||||
const API_RATE_LIMIT = `
|
||||
rateLimit {
|
||||
limit
|
||||
|
||||
Reference in New Issue
Block a user