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

View File

@@ -20,8 +20,10 @@ export default defineConfig({
outputFile: 'test-results.json',
setupFiles: 'test/setup.ts',
globalSetup: 'test/globalSetup.ts',
// fileParallelism: false,
maxConcurrency: 5,
// File-level execution: serial (one file at a time to avoid MongoDB conflicts)
fileParallelism: false,
// Test-level execution within a file: parallel (up to 5 concurrent tests)
maxConcurrency: 10,
pool: 'threads',
include: [
'test/test.ts',
@@ -31,6 +33,7 @@ export default defineConfig({
'projects/marketplace/test/**/*.test.ts'
],
testTimeout: 20000,
hookTimeout: 30000,
reporters: ['github-actions', 'default']
}
});