Skip to content

Commit

Permalink
Increase the timeout for executing Git commands
Browse files Browse the repository at this point in the history
  • Loading branch information
thafryer committed Jun 21, 2023
1 parent 2b0ee97 commit 320924d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node-src/git/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export async function execGitCommand(command: string) {
try {
const { all } = await execa.command(command, {
env: { LANG: 'C', LC_ALL: 'C' }, // make sure we're speaking English
timeout: 10000, // 10 seconds
timeout: 20000, // 20 seconds
all: true, // interleave stdout and stderr
shell: true, // we'll deal with escaping ourselves (for now)
});
Expand Down

0 comments on commit 320924d

Please sign in to comment.