|
|
@@ -12,7 +12,7 @@ const (
|
|
|
|
|
|
func GetCmdDefaultTimeout(cmd string) int { // 单位: 秒
|
|
|
switch {
|
|
|
- case strings.HasPrefix(cmd, "curl"):
|
|
|
+ case strings.HasPrefix(cmd, "yfkj_ftp_client"):
|
|
|
return int(slowTimeout.Seconds())
|
|
|
default:
|
|
|
return int(fastTimeout.Seconds())
|