mirror of https://github.com/actions/toolkit
update default options for retry client
parent
7f5921cddd
commit
006d0667e8
|
@ -20,8 +20,8 @@ class ArtifactHttpClient implements Rpc {
|
||||||
private httpClient: HttpClient
|
private httpClient: HttpClient
|
||||||
private baseUrl: string
|
private baseUrl: string
|
||||||
private maxAttempts = 5
|
private maxAttempts = 5
|
||||||
private baseRetryIntervalMilliseconds = 3000
|
private baseRetryIntervalMilliseconds = 30000
|
||||||
private retryMultiplier = 1.5
|
private retryMultiplier = 1.4
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
userAgent: string,
|
userAgent: string,
|
||||||
|
|
Loading…
Reference in New Issue