fix(接口定义): 修复数据库配置最大连接数与超时时间缺少默认值的缺陷

--bug=1017897 --user=王孝刚 【接口测试】环境配置-数据库配置最大连接数与超时时间缺少默认值,建议优化
https://www.tapd.cn/55049933/s/1259992
This commit is contained in:
wxg0103 2022-10-12 19:17:45 +08:00 committed by 刘瑞斌
parent 02271bad4c
commit 6c7bd5723a
1 changed files with 2 additions and 2 deletions

View File

@ -654,8 +654,8 @@ export class DatabaseConfig extends BaseConfig {
super();
this.id = undefined;
this.name = undefined;
this.poolMax = undefined;
this.timeout = undefined;
this.poolMax = 1;
this.timeout = 10000;
this.driver = undefined;
this.dbUrl = undefined;
this.username = undefined;