Skip to content

Commit 766ea78

Browse files
authored
refactor(api): reduce octokit retry plugin amount (#2571)
Signed-off-by: Adam Setch <adam.setch@outlook.com>
1 parent 62ad036 commit 766ea78

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/renderer/utils/api/octokit.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ export async function createOctokitClientUncached(
8383
baseUrl: baseUrl,
8484
userAgent: userAgent,
8585
retry: {
86-
doNotRetry: ['400', '401', '403', '404', '422'],
87-
retries: 3,
86+
retries: 1,
8887
},
8988
});
9089
}

0 commit comments

Comments
 (0)