We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4993197 commit 0c344cbCopy full SHA for 0c344cb
‎src/node/runtime/SSHRuntime.ts‎
@@ -376,11 +376,10 @@ export class SSHRuntime implements Runtime {
376
});
377
378
try {
379
- // The spawn command backgrounds the process and returns immediately with the PID.
380
- // Timeout protects against SSH connection hangs (network issues), not the spawned process.
+ // No timeout - the spawn command backgrounds the process and returns immediately,
+ // but if wrapped in `timeout`, it would wait for the backgrounded process to exit
381
const result = await execBuffered(this, spawnCommand, {
382
cwd: "/", // cwd doesn't matter, we cd in the wrapper
383
- timeout: 30, // Generous timeout for SSH connection + shell startup
384
385
386
if (result.exitCode !== 0) {
0 commit comments