Skip to content

Commit

Permalink
fix(remote-build): set zstd compression level to 16 (reduce upload ti…
Browse files Browse the repository at this point in the history
…me from 40s to 20s)
  • Loading branch information
develar committed Dec 5, 2017
1 parent 3bafe6b commit 04787fa
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,10 @@ function getZstdCompressionLevel(endpoint: string): string {
if (result != null) {
return result
}
return endpoint.startsWith("https://127.0.0.1:") || endpoint.startsWith("https://localhost:") || endpoint.startsWith("[::1]:") ? "3" : "19"
// 18 - 40s
// 17 - 30s
// 16 - 20s
return endpoint.startsWith("https://127.0.0.1:") || endpoint.startsWith("https://localhost:") || endpoint.startsWith("[::1]:") ? "3" : "16"
}

export function checkStatus(status: number, reject: (error: Error) => void) {
Expand Down

0 comments on commit 04787fa

Please sign in to comment.