fix: 按不活跃时间限制 trans 下载
This commit is contained in:
@@ -1422,6 +1422,7 @@ export async function runSsh(config: UniDeskConfig, providerId: string, args: st
|
||||
const operationName = normalizedArgs[0] ?? "";
|
||||
if (isSshFileTransferOperation(normalizedArgs)) {
|
||||
const executor: SshRemoteCommandExecutor = {
|
||||
streamInactivityTimeoutMs: sshRuntimeTimeoutMs(),
|
||||
runRemoteCommand: (remoteCommand, input) => runSshCaptureRemoteCommand(config, invocation, remoteCommand, input),
|
||||
streamRemoteCommand: (remoteCommand, handlers, input, options) => runSshStreamRemoteCommand(config, invocation, remoteCommand, handlers, input, options),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user