fix: improve get tree in big repository by limiting the number of files

This commit is contained in:
tdurieux
2023-02-02 15:45:01 +01:00
parent 0e8a40c0d7
commit 864031d13a
5 changed files with 72 additions and 49 deletions

View File

@@ -52,7 +52,7 @@ export function startWorker() {
path.resolve("dist/src/processes/downloadRepository.js"),
// downloadRepository,
{
concurrency: 2,
concurrency: 3,
connection: {
host: config.REDIS_HOSTNAME,
port: config.REDIS_PORT,