feat: admin set pgIvP

This commit is contained in:
archer
2023-06-10 23:10:35 +08:00
parent fb1392565d
commit 7957f96d2c
6 changed files with 13 additions and 1 deletions

View File

@@ -21,6 +21,10 @@ const SystemSchema = new Schema({
type: Number,
default: 10
},
pgIvfflatProbe: {
type: Number,
default: 10
},
sensitiveCheck: {
type: Boolean,
default: false

View File

@@ -20,6 +20,7 @@ export async function connectToDatabase(): Promise<void> {
gpt4Key: process.env.GPT4KEY || '',
vectorMaxProcess: 10,
qaMaxProcess: 10,
pgIvfflatProbe: 10,
sensitiveCheck: false
};
// proxy obj