去除连接池中wall配置,此配制影响批量执行sql
This commit is contained in:
parent
03c0232804
commit
1d2c9f2049
@ -109,7 +109,7 @@ public class MessageRequestProcessor extends SIPRequestProcessorParent implement
|
||||
try {
|
||||
rootElement = getRootElement(evt);
|
||||
if (rootElement == null) {
|
||||
logger.error("处理SUBSCRIBE请求 未获取到消息体{}", evt.getRequest());
|
||||
logger.error("处理MESSAGE请求 未获取到消息体{}", evt.getRequest());
|
||||
responseAck(evt, Response.BAD_REQUEST, "content is null");
|
||||
return;
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ import static com.genersoft.iot.vmp.gb28181.utils.XmlUtil.getText;
|
||||
@Component
|
||||
public class RecordInfoResponseMessageHandler extends SIPRequestProcessorParent implements InitializingBean, IMessageHandler {
|
||||
|
||||
private Logger logger = LoggerFactory.getLogger(RecordInfoResponseMessageHandler.class);
|
||||
private final Logger logger = LoggerFactory.getLogger(RecordInfoResponseMessageHandler.class);
|
||||
private final String cmdType = "RecordInfo";
|
||||
|
||||
private ConcurrentLinkedQueue<HandlerCatchData> taskQueue = new ConcurrentLinkedQueue<>();
|
||||
|
@ -48,7 +48,7 @@ spring:
|
||||
poolPreparedStatements: false # 是否開啟PSCache,並且指定每個連線上PSCache的大小
|
||||
timeBetweenEvictionRunsMillis: 60000 # 配置間隔多久才進行一次檢測,檢測需要關閉的空閒連線,單位是毫秒
|
||||
minEvictableIdleTimeMillis: 300000 # 配置一個連線在池中最小生存的時間,單位是毫秒
|
||||
filters: stat,wall,slf4j # 配置监控统计拦截的filters,监控统计用的filter:sta, 日志用的filter:log4j, 防御sql注入的filter:wall
|
||||
filters: stat,slf4j # 配置监控统计拦截的filters,监控统计用的filter:sta, 日志用的filter:log4j
|
||||
useGlobalDataSourceStat: true # 合并多个DruidDataSource的监控数据
|
||||
# 通过connectProperties属性来打开mergeSql功能;慢SQL记录
|
||||
connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=1000
|
||||
|
@ -36,7 +36,7 @@ spring:
|
||||
poolPreparedStatements: false # 是否開啟PSCache,並且指定每個連線上PSCache的大小
|
||||
timeBetweenEvictionRunsMillis: 60000 # 配置間隔多久才進行一次檢測,檢測需要關閉的空閒連線,單位是毫秒
|
||||
minEvictableIdleTimeMillis: 300000 # 配置一個連線在池中最小生存的時間,單位是毫秒
|
||||
filters: stat,wall,slf4j # 配置监控统计拦截的filters,监控统计用的filter:sta, 日志用的filter:log4j, 防御sql注入的filter:wall
|
||||
filters: stat,slf4j # 配置监控统计拦截的filters,监控统计用的filter:sta, 日志用的filter:log4j
|
||||
useGlobalDataSourceStat: true # 合并多个DruidDataSource的监控数据
|
||||
# 通过connectProperties属性来打开mergeSql功能;慢SQL记录
|
||||
connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=1000
|
||||
|
Loading…
Reference in New Issue
Block a user