Commit 5f6e618a authored by nanahira's avatar nanahira

fix

parent 0caef458
Pipeline #23570 passed with stages
in 3 minutes and 17 seconds
......@@ -209,7 +209,7 @@ export class PackagerService extends ConsoleLogger {
}
async archive(root: string, archiveTask: ArchiveTask): Promise<Archive> {
return this.redlock.using([`archive:${archiveTask.path}`], 5000, async () => this.archiveProcess(root, archiveTask));
return this.redlock.getLockInstance().using([`archive:${archiveTask.path}`], 5000, async () => this.archiveProcess(root, archiveTask));
}
private archiveQueue = new PQueue({ concurrency: parseInt(process.env.PACKAGE_COCURRENCY) || os.cpus().length });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment