Fix: WebExecutorProperties npe problem. (#1162)

pull/1165/head
yanrongzhen 2 years ago committed by GitHub
parent c29a36fae4
commit be636bf08a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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