Pre Merge pull request !296 from gxl/dev-3

This commit is contained in:
gxl 2021-05-22 22:18:15 +08:00 committed by Gitee
commit 0e5ea3bd6a
2 changed files with 3 additions and 3 deletions

View File

@ -6,9 +6,9 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:mysql://localhost:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url: jdbc:mysql://localhost:3306/companydemo?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: password
password: root
# 从库数据源
slave:
# 从数据源开关/默认关闭

View File

@ -26,7 +26,7 @@ public class ThreadPoolConfig
// 队列最大长度
private int queueCapacity = 1000;
// 线程池维护线程所允许的空闲时间
// 线程池维护线程所允许的空闲时间-2
private int keepAliveSeconds = 300;
@Bean(name = "threadPoolTaskExecutor")