perf: 5进程同时进行

This commit is contained in:
archer
2023-04-04 21:41:55 +08:00
parent b13c3c4da5
commit 943abbe0fb
4 changed files with 19 additions and 9 deletions

View File

@@ -27,6 +27,7 @@ export async function connectToDatabase(): Promise<void> {
global.mongodb = null;
}
global.generatingQA = 0;
generateQA();
// generateAbstract();
generateVector();