更新 scripts/dcgm-exporter.sh
This commit is contained in:
parent
0c493eff49
commit
3bebc27ff2
|
|
@ -40,7 +40,7 @@ error() {
|
|||
run() {
|
||||
local cmd="$1"
|
||||
local error_msg="${2:-命令执行失败}"
|
||||
local timeout="${3:-60}" # 默认超时30秒
|
||||
local timeout="${3:-120}" # 默认超时120秒
|
||||
|
||||
log "→ 执行: $cmd"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue