perf: index (#6131)

* perf: index

* stop design doc

* perf: stop workflow;perf: mongo connection

* fix: ts

* mq export
This commit is contained in:
Archer
2025-12-21 19:15:10 +08:00
committed by GitHub
parent 4f95f6867e
commit 2fea73bb68
32 changed files with 1419 additions and 238 deletions
+2 -2
View File
@@ -40,7 +40,7 @@ export const addS3DelJob = async (data: S3MQJobData): Promise<void> => {
await queue.add('delete-s3-files', data, { jobId, ...jobOption });
};
const prefixDel = async (bucket: S3BaseBucket, prefix: string) => {
export const prefixDel = async (bucket: S3BaseBucket, prefix: string) => {
addLog.debug(`[S3 delete] delete prefix: ${prefix}`);
let tasks: Promise<any>[] = [];
return new Promise<void>(async (resolve, reject) => {
@@ -103,7 +103,7 @@ export const startS3DelWorker = async () => {
}
},
{
concurrency: 3
concurrency: 6
}
);
};