This commit is contained in:
xiaojunnuo
2025-09-05 21:17:15 +08:00
parent c24a040c19
commit 0c8e3262fe
2 changed files with 2 additions and 2 deletions

View File

@@ -593,7 +593,7 @@ export class SshClient {
timeoutId = setTimeout(() => {
this.logger.info("执行超时,断开连接");
conn.end();
}, 1000 * (connectConf.timeout || 600));
}, 1000 * (connectConf.timeout || 1800));
return await callable(conn);
} finally {
clearTimeout(timeoutId);