Explorar o código

调整超时时间

Jrohy %!s(int64=2) %!d(string=hai) anos
pai
achega
2ad85da1a1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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=""