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