This commit is contained in:
2023-08-18 15:47:10 +00:00
parent 60848987eb
commit 199938f2b2
12 changed files with 95 additions and 21 deletions
+1
View File
@@ -12,6 +12,7 @@ export const ServerConfig = new Schema<IServerConfig>({
allowRegister: { type: Boolean, required: true },
}, {
autoIndex: false,
autoCreate: false,
capped: {
max: 1,
}