测试 code-create DB最大连接时长
This commit is contained in:
@@ -1243,7 +1243,7 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account> impl
|
||||
config.addDataSourceProperty("cachePrepStmts", "true");
|
||||
config.addDataSourceProperty("prepStmtCacheSize", "250");
|
||||
config.addDataSourceProperty("prepStmtCacheSqlLimit", "2048");
|
||||
config.addDataSourceProperty("maxLifetime", 300000);
|
||||
config.addDataSourceProperty("maxLifetime", 60000);
|
||||
dataSource = new HikariDataSource(config);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user