fix: tiktoken memory

This commit is contained in:
archer
2023-06-02 13:10:34 +08:00
parent d69554575d
commit 8cafebe26c
5 changed files with 65 additions and 275 deletions

View File

@@ -37,6 +37,7 @@ export async function connectToDatabase(): Promise<void> {
});
}
// 初始化队列
global.qaQueueLen = 0;
global.vectorQueueLen = 0;