* perf: health check

* doc
This commit is contained in:
Archer
2026-02-13 11:23:02 +08:00
committed by GitHub
parent 3096ac5fe6
commit e5a791e4f7
29 changed files with 322 additions and 564 deletions

View File

@@ -9,3 +9,14 @@ export const isProVersion = () => {
export const serviceRequestMaxContentLength =
Number(process.env.SERVICE_REQUEST_MAX_CONTENT_LENGTH || 10) * 1024 * 1024; // 10MB
export const InitialErrorEnum = {
S3_ERROR: 's3_error',
MONGO_ERROR: 'mongo_error',
REDIS_ERROR: 'redis_error',
VECTORDB_ERROR: 'vectordb_error',
PLUGIN_ERROR: 'plugin_error',
PRO_ERROR: 'pro_error',
SANDBOX_ERROR: 'code_sandbox_error',
MCP_SERVER_ERROR: 'mcp_server_error'
};