Skip to content

Commit

Permalink
fix(git): Reduce git concurrency to avoid lock file conflicts. (#6511)
Browse files Browse the repository at this point in the history
  • Loading branch information
matt1097 authored Jun 16, 2023
1 parent 4e5e830 commit f02b7ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/modules/storage/git/storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = {
WIKI.logger.info('(STORAGE/GIT) Initializing...')
this.repoPath = path.resolve(WIKI.ROOTPATH, this.config.localRepoPath)
await fs.ensureDir(this.repoPath)
this.git = sgit(this.repoPath)
this.git = sgit(this.repoPath, { maxConcurrentProcesses: 1 })

// Set custom binary path
if (!_.isEmpty(this.config.gitBinaryPath)) {
Expand Down

0 comments on commit f02b7ba

Please sign in to comment.