From bd004a04894065ff645414fcc540a820864229ff Mon Sep 17 00:00:00 2001 From: whyour Date: Sat, 14 Oct 2023 23:05:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AE=BE=E7=BD=AE=E4=BB=A3?= =?UTF-8?q?=E7=90=86=E6=97=B6=EF=BC=8Cschedule=20=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E9=80=9A=E4=BF=A1=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/share.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/shell/share.sh b/shell/share.sh index 17a3f4ab..f6b6a0b9 100755 --- a/shell/share.sh +++ b/shell/share.sh @@ -100,9 +100,6 @@ set_proxy() { unset_proxy() { unset http_proxy unset https_proxy - unset ftp_proxy - unset all_proxy - unset no_proxy } make_dir() { @@ -311,10 +308,8 @@ random_range() { reload_pm2() { cd $dir_root - # 代理会影响 grpc 服务 - unset_proxy pm2 flush &>/dev/null - pm2 startOrGracefulReload $file_ecosystem_js --update-env + env ALL_PROXY= HTTP_PROXY= HTTPS_PROXY= all_proxy= http_proxy= https_proxy= pm2 startOrGracefulReload $file_ecosystem_js --update-env } diff_time() {