add options to set max attempts and intervals

This commit is contained in:
Clansty 2024-09-02 23:46:54 +08:00
parent 2d7d9f7ff5
commit 4dca78049b
No known key found for this signature in database
GPG key ID: 3A6BE8BAF2EDE134
8 changed files with 85 additions and 3 deletions

View file

@ -118,4 +118,19 @@ export interface IGitSourceSettings {
* User override on the GitHub Server/Host URL that hosts the repository to be cloned
*/
githubServerUrl: string | undefined
/**
* Retry helper max attempts
*/
maxAttempts: number
/**
* Retry helper min interval seconds
*/
minRetryInterval: number
/**
* Retry helper max interval seconds
*/
maxRetryInterval: number
}