mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-06 22:07:58 +03:00
Try to optimise initial connection speed in tests.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
import { monkDB } from "external/mongo/db";
|
||||
import { SetIndexesForDB } from "./resets";
|
||||
|
||||
SetIndexesForDB().then(() => process.exit(0));
|
||||
SetIndexesForDB()
|
||||
.then(monkDB.close)
|
||||
.then(() => process.exit(0));
|
||||
|
||||
Reference in New Issue
Block a user