Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/core/src/services/shellExecutionService.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ describe('ShellExecutionService child_process fallback', () => {
);

// Now, advance time past the timeout
await vi.advanceTimersByTimeAsync(250);
await vi.advanceTimersByTimeAsync(5050);

// Check the second kill signal
expect(mockProcessKill).toHaveBeenCalledWith(
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/services/shellExecutionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { getCachedEncodingForBuffer } from '../utils/systemEncoding.js';
import { isBinary } from '../utils/textUtils.js';
const { Terminal } = pkg;

const SIGKILL_TIMEOUT_MS = 200;
const SIGKILL_TIMEOUT_MS = 5000;

// @ts-expect-error getFullText is not a public API.
const getFullText = (terminal: Terminal) => {
Expand Down