增加数据库慢查询观测与索引防线并收窄打手拼单分页查询
This commit is contained in:
@@ -62,6 +62,12 @@ export function validateRuntimeConfig(
|
||||
min: 1,
|
||||
},
|
||||
)
|
||||
requireOptionalInteger(
|
||||
issues,
|
||||
'database.slowQueryThresholdMs',
|
||||
config.database?.slowQueryThresholdMs,
|
||||
{ min: 0 },
|
||||
)
|
||||
requireInteger(issues, 'storage.maxUploadSizeMb', config.storage?.maxUploadSizeMb, {
|
||||
min: 1,
|
||||
max: 100,
|
||||
|
||||
Reference in New Issue
Block a user