浏览代码

调整超时时间

Jrohy 2 年之前
父节点
当前提交
2ad85da1a1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      install.sh

+ 1 - 1
install.sh

@@ -132,7 +132,7 @@ install_go(){
     if [[ -z $install_version ]];then
         echo "正在获取最新版golang..."
         count=0
-        curl_param="-s --connect-timeout 10 -H 'Cache-Control: no-cache'"
+        curl_param="-s --connect-timeout 15 -H 'Cache-Control: no-cache'"
         while :
         do
             install_version=""