服务器中的系统接口调用超时,去服务器中查看log文件 发现是 druid连接池 wait millis 60009, active 50 ,maxactive 200 异常 过程
数据连接池满了没有释放 在配置文件加以下配置
druid:
removeAbandoned: true //超过时间限制是否回收
removeAbandonedTimeout: 300 //超时时间;单位为秒。300秒=5分钟
logAbandoned: true //关闭abanded连接时输出错误日志
服务器中的系统接口调用超时,去服务器中查看log文件 发现是 druid连接池 wait millis 60009, active 50 ,maxactive 200 异常 过程
数据连接池满了没有释放 在配置文件加以下配置
druid:
removeAbandoned: true //超过时间限制是否回收
removeAbandonedTimeout: 300 //超时时间;单位为秒。300秒=5分钟
logAbandoned: true //关闭abanded连接时输出错误日志