Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(git): increase commit timeout for slow pre-commit hooks #1330

ClosedC-W-D-Harshit(GitHub profile, opens in a new tab)wants to merge 1 commit intomain fromrefs/pull/1330/headopened View on GitHub

Showing 1 changed file with 1 addition and 1 deletion.

x
0 of 1 viewed, 1 left
1 addition and 1 deletionapps/server/src/git/Layers/GitCore.tsModified
View file
@@ -813,7 +813,7 @@
if (trimmedBody.length > 0) {
args.push("-m", trimmedBody);
- yield* runGit("GitCore.commit.commit", cwd, args);
+ yield* executeGit("GitCore.commit.commit", cwd, args, { timeoutMs: 120_000 });
const commitSha = yield* runGitStdout("GitCore.commit.revParseHead", cwd, [
"rev-parse",
"HEAD",