|
@@ -147,7 +147,7 @@ func downloadInstallPkg(pkgURL, checksum string) {
|
|
|
|
|
|
logging.LogInfof("downloading install package [%s]", pkgURL)
|
|
|
client := req.C().SetTimeout(60 * time.Minute)
|
|
|
- err := client.NewParallelDownload(pkgURL).SetConcurrency(8).SetSegmentSize(1024 * 1024 * 4).
|
|
|
+ err := client.NewParallelDownload(pkgURL).SetConcurrency(8).SetSegmentSize(1024 * 1024 * 2).
|
|
|
SetOutputFile(savePath).Do()
|
|
|
if nil != err {
|
|
|
logging.LogErrorf("download install package failed: %s", err)
|