Fix: WebExecutorProperties npe problem.

pull/1162/head
yanrongzhen 2 years ago
parent c29a36fae4
commit cf2afb5484

@ -70,6 +70,9 @@ public class ConfigModeNotifyConfigBuilder implements NotifyConfigBuilder {
}
// register notify config for web
WebExecutorProperties webProperties = configProperties.getWeb();
if (webProperties == null) {
return resultMap;
}
if (StringUtil.isBlank(webProperties.getThreadPoolId())) {
webProperties.setThreadPoolId(webThreadPoolService.getWebContainerType().name());
}

Loading…
Cancel
Save