chore: incorporate additional copilot suggestions
Signed-off-by: Jan Michael Ong <adobejmong@gmail.com>
This commit is contained in:
@@ -22,4 +22,4 @@
|
||||
|
||||
export * from './actions';
|
||||
export { githubModule as default } from './module';
|
||||
export { getOctokitClient, getOctokitOptions } from './util';
|
||||
export { getOctokitClient, getOctokitOptions, type RetryOptions } from './util';
|
||||
|
||||
@@ -31,9 +31,9 @@ const DEFAULT_TIMEOUT_MS = 60_000;
|
||||
// By default, octokit/plugin-retry will retry 3 times with a 1 second delay
|
||||
// between retries.
|
||||
const DEFAULT_RETRY_ATTEMPTS = 3;
|
||||
const DEFAULT_RETRY_DELAY_MS = 1000;
|
||||
const DEFAULT_RETRY_DELAY_MS = 1_000;
|
||||
|
||||
type RetryOptions = {
|
||||
export type RetryOptions = {
|
||||
// The number of retry attempts for failed requests
|
||||
retries?: number;
|
||||
// The delay in milliseconds between retry attempts
|
||||
|
||||
Reference in New Issue
Block a user