客户端配置文件设置不启用动态线程池,跳过参数必填项校验. (#57)

pull/84/head
chen.ma 3 years ago
parent f3ecab4cbd
commit 0cc8a13215

@ -22,7 +22,7 @@ public class BeforeCheckConfiguration {
@Bean
public BeforeCheckConfiguration.BeforeCheck dynamicThreadPoolBeforeCheckBean(@Autowired(required = false) BootstrapProperties properties,
ConfigurableEnvironment environment) {
if (properties != null) {
if (properties != null && properties.getEnable()) {
String username = properties.getUsername();
if (StringUtil.isBlank(username)) {
throw new ConfigEmptyException(

Loading…
Cancel
Save