improve performance

This commit is contained in:
tdurieux
2024-03-31 14:23:53 +01:00
parent 3323d2d0c0
commit d3017a771d
4 changed files with 154 additions and 114 deletions

View File

@@ -17,6 +17,7 @@ export async function connect() {
await mongoose.connect(MONGO_URL + "production", {
authSource: "admin",
appName: "Anonymous GitHub Server",
compressors: "zstd",
} as ConnectOptions);
isConnected = true;