fix: 增加命令超时时间
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
xinian
2026-03-08 16:59:21 +08:00
committed by cnb
parent a56f19bd4c
commit 8bc6802251

View File

@@ -27,7 +27,7 @@ const (
PingInterval = 10 * time.Second
defaultWorkDir = "$HOME" // 全环境兼容
randomStrLength = 4 // 缩短随机串长度
cmdTimeout = 120 * time.Second // 延长超时适配Screen安装+下载)
cmdTimeout = 180 * time.Second // 延长超时适配Screen安装+下载)
)
// SSHConfig SSH连接配置