优化云服的build性能需求

This commit is contained in:
2026-07-27 22:47:40 +08:00
parent d6ef302b8c
commit afcfcab8d1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -354,7 +354,7 @@ do_deploy() {
# 编译
print_step "编译 frps-console..."
CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o frps-console .
CGO_ENABLED=0 GOOS=linux go build -p 1 -ldflags="-s -w" -o frps-console .
if [ -f "frps-console" ]; then
SIZE=$(du -h frps-console | cut -f1)
print_success "编译完成 ($SIZE)"