diff --git a/apollo-adminservice/pom.xml b/apollo-adminservice/pom.xml index 0174d01eb9e..49a95d26806 100644 --- a/apollo-adminservice/pom.xml +++ b/apollo-adminservice/pom.xml @@ -4,7 +4,7 @@ com.ctrip.framework.apollo apollo - 0.9.0 + 0.9.1-SNAPSHOT ../pom.xml 4.0.0 diff --git a/apollo-assembly/pom.xml b/apollo-assembly/pom.xml index 2df655100cb..43cbb4cf44f 100644 --- a/apollo-assembly/pom.xml +++ b/apollo-assembly/pom.xml @@ -4,7 +4,7 @@ com.ctrip.framework.apollo apollo - 0.9.0 + 0.9.1-SNAPSHOT ../pom.xml 4.0.0 diff --git a/apollo-biz/pom.xml b/apollo-biz/pom.xml index 1162fc18267..a2a1fdfddd4 100644 --- a/apollo-biz/pom.xml +++ b/apollo-biz/pom.xml @@ -4,7 +4,7 @@ com.ctrip.framework.apollo apollo - 0.9.0 + 0.9.1-SNAPSHOT 4.0.0 apollo-biz diff --git a/apollo-buildtools/pom.xml b/apollo-buildtools/pom.xml index 90e3f26f7d9..969acede875 100644 --- a/apollo-buildtools/pom.xml +++ b/apollo-buildtools/pom.xml @@ -4,7 +4,7 @@ com.ctrip.framework.apollo apollo - 0.9.0 + 0.9.1-SNAPSHOT ../pom.xml 4.0.0 diff --git a/apollo-client/pom.xml b/apollo-client/pom.xml index 4a0bff7958f..5745dbf94d8 100644 --- a/apollo-client/pom.xml +++ b/apollo-client/pom.xml @@ -4,7 +4,7 @@ com.ctrip.framework.apollo apollo - 0.9.0 + 0.9.1-SNAPSHOT ../pom.xml 4.0.0 diff --git a/apollo-common/pom.xml b/apollo-common/pom.xml index e6b8fcb2fb5..10327d11737 100644 --- a/apollo-common/pom.xml +++ b/apollo-common/pom.xml @@ -4,7 +4,7 @@ com.ctrip.framework.apollo apollo - 0.9.0 + 0.9.1-SNAPSHOT ../pom.xml 4.0.0 diff --git a/apollo-common/src/main/java/com/ctrip/framework/apollo/common/config/RefreshableConfig.java b/apollo-common/src/main/java/com/ctrip/framework/apollo/common/config/RefreshableConfig.java index 5cfd0b89c63..7d010a26099 100644 --- a/apollo-common/src/main/java/com/ctrip/framework/apollo/common/config/RefreshableConfig.java +++ b/apollo-common/src/main/java/com/ctrip/framework/apollo/common/config/RefreshableConfig.java @@ -58,7 +58,7 @@ public void setup() { //task to update configs ScheduledExecutorService executorService = - Executors.newScheduledThreadPool(1, ApolloThreadFactory.create("ConfigRefresher", false)); + Executors.newScheduledThreadPool(1, ApolloThreadFactory.create("ConfigRefresher", true)); executorService .scheduleWithFixedDelay(() -> { diff --git a/apollo-configservice/pom.xml b/apollo-configservice/pom.xml index 7074defa4a4..065727d60e1 100644 --- a/apollo-configservice/pom.xml +++ b/apollo-configservice/pom.xml @@ -4,7 +4,7 @@ com.ctrip.framework.apollo apollo - 0.9.0 + 0.9.1-SNAPSHOT ../pom.xml 4.0.0 diff --git a/apollo-core/pom.xml b/apollo-core/pom.xml index 4ebffa5ac5b..b8f3e3542bd 100644 --- a/apollo-core/pom.xml +++ b/apollo-core/pom.xml @@ -4,7 +4,7 @@ com.ctrip.framework.apollo apollo - 0.9.0 + 0.9.1-SNAPSHOT ../pom.xml 4.0.0 diff --git a/apollo-demo/pom.xml b/apollo-demo/pom.xml index 8d8a007afa0..2696c5d2a57 100644 --- a/apollo-demo/pom.xml +++ b/apollo-demo/pom.xml @@ -4,7 +4,7 @@ apollo com.ctrip.framework.apollo - 0.9.0 + 0.9.1-SNAPSHOT 4.0.0 apollo-demo diff --git a/apollo-portal/pom.xml b/apollo-portal/pom.xml index b1cd8cff670..0dd7b3cd198 100644 --- a/apollo-portal/pom.xml +++ b/apollo-portal/pom.xml @@ -4,7 +4,7 @@ com.ctrip.framework.apollo apollo - 0.9.0 + 0.9.1-SNAPSHOT ../pom.xml 4.0.0 diff --git a/apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/AdminServiceAddressLocator.java b/apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/AdminServiceAddressLocator.java index 87b6551440c..0e1f26d495c 100644 --- a/apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/AdminServiceAddressLocator.java +++ b/apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/AdminServiceAddressLocator.java @@ -58,7 +58,7 @@ public void init() { restTemplate = restTemplateFactory.getObject(); refreshServiceAddressService = - Executors.newScheduledThreadPool(1, ApolloThreadFactory.create("ServiceLocator", false)); + Executors.newScheduledThreadPool(1, ApolloThreadFactory.create("ServiceLocator", true)); refreshServiceAddressService.schedule(new RefreshAdminServerAddressTask(), 1, TimeUnit.MILLISECONDS); } diff --git a/apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/PortalSettings.java b/apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/PortalSettings.java index 50b30c955c6..c766f044012 100644 --- a/apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/PortalSettings.java +++ b/apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/PortalSettings.java @@ -54,7 +54,7 @@ private void postConstruct() { ScheduledExecutorService healthCheckService = - Executors.newScheduledThreadPool(1, ApolloThreadFactory.create("EnvHealthChecker", false)); + Executors.newScheduledThreadPool(1, ApolloThreadFactory.create("EnvHealthChecker", true)); healthCheckService .scheduleWithFixedDelay(new HealthCheckTask(applicationContext), 1000, HEALTH_CHECK_INTERVAL, diff --git a/apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/listener/ConfigPublishListener.java b/apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/listener/ConfigPublishListener.java index ca83d5f125c..da084dafe6b 100644 --- a/apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/listener/ConfigPublishListener.java +++ b/apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/listener/ConfigPublishListener.java @@ -48,7 +48,7 @@ public class ConfigPublishListener { @PostConstruct public void init() { - executorService = Executors.newSingleThreadExecutor(ApolloThreadFactory.create("ConfigPublishNotify", false)); + executorService = Executors.newSingleThreadExecutor(ApolloThreadFactory.create("ConfigPublishNotify", true)); } @EventListener diff --git a/pom.xml b/pom.xml index 3cfb722c974..76990e6e25c 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.ctrip.framework.apollo apollo - 0.9.0 + 0.9.1-SNAPSHOT Apollo pom Ctrip Configuration Center