Skip to content

Commit

Permalink
chore: remove retry octokit
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Jan 11, 2025
1 parent 3b18be2 commit bfd525f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/github/github-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { requestLog } from "@octokit/plugin-request-log";
import { RequestOptions } from "@octokit/types";
import { paginateRest } from "@octokit/plugin-paginate-rest";
import { restEndpointMethods } from "@octokit/plugin-rest-endpoint-methods";
import { retry } from "@octokit/plugin-retry";
// import { retry } from "@octokit/plugin-retry";
import { throttling } from "@octokit/plugin-throttling";
import { createAppAuth } from "@octokit/auth-app";

Expand Down Expand Up @@ -47,6 +47,6 @@ const defaultOptions = {
// });
// }

export const customOctokit = Octokit.plugin(throttling, retry, paginateRest, restEndpointMethods, requestLog).defaults((instanceOptions: object) => {
export const customOctokit = Octokit.plugin(throttling, paginateRest, restEndpointMethods, requestLog).defaults((instanceOptions: object) => {
return Object.assign({}, defaultOptions, instanceOptions);
});

0 comments on commit bfd525f

Please sign in to comment.