Better Artifact Telemetry + Increase Upload chunk size (#535)

* Differentiate user-agents for better internal telemetry

* Bump chunk size from 4 to 8 MB

* Update User-Agent Strings
This commit is contained in:
Konrad Pabjan
2020-07-30 17:23:28 +02:00
committed by GitHub
parent ccad19055e
commit 3a9dc00629
5 changed files with 16 additions and 8 deletions

View File

@@ -27,7 +27,10 @@ export class DownloadHttpClient {
private statusReporter: StatusReporter
constructor() {
this.downloadHttpManager = new HttpManager(getDownloadFileConcurrency())
this.downloadHttpManager = new HttpManager(
getDownloadFileConcurrency(),
'@actions/artifact-download'
)
// downloads are usually significantly faster than uploads so display status information every second
this.statusReporter = new StatusReporter(1000)
}