feat: retry github api requests
This commit is contained in:
parent
093c191148
commit
29708c335a
4 changed files with 1632 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
import {Octokit as Core} from '@octokit/core'
|
||||
import {paginateRest} from '@octokit/plugin-paginate-rest'
|
||||
import {restEndpointMethods} from '@octokit/plugin-rest-endpoint-methods'
|
||||
import {retry} from '@octokit/plugin-retry'
|
||||
import {HttpsProxyAgent} from 'https-proxy-agent'
|
||||
export {RestEndpointMethodTypes} from '@octokit/plugin-rest-endpoint-methods'
|
||||
export {OctokitOptions} from '@octokit/core/dist-types/types'
|
||||
|
@ -8,6 +9,7 @@ export {OctokitOptions} from '@octokit/core/dist-types/types'
|
|||
export const Octokit = Core.plugin(
|
||||
paginateRest,
|
||||
restEndpointMethods,
|
||||
retry,
|
||||
autoProxyAgent
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue