Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apollo
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
apollo
Commits
0f60cf9d
Commit
0f60cf9d
authored
Oct 25, 2017
by
nobodyiam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use daemon threads for thread pools
parent
ce521b2a
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
15 additions
and
15 deletions
+15
-15
pom.xml
apollo-adminservice/pom.xml
+1
-1
pom.xml
apollo-assembly/pom.xml
+1
-1
pom.xml
apollo-biz/pom.xml
+1
-1
pom.xml
apollo-buildtools/pom.xml
+1
-1
pom.xml
apollo-client/pom.xml
+1
-1
pom.xml
apollo-common/pom.xml
+1
-1
RefreshableConfig.java
...rip/framework/apollo/common/config/RefreshableConfig.java
+1
-1
pom.xml
apollo-configservice/pom.xml
+1
-1
pom.xml
apollo-core/pom.xml
+1
-1
pom.xml
apollo-demo/pom.xml
+1
-1
pom.xml
apollo-portal/pom.xml
+1
-1
AdminServiceAddressLocator.java
...k/apollo/portal/component/AdminServiceAddressLocator.java
+1
-1
PortalSettings.java
...rip/framework/apollo/portal/component/PortalSettings.java
+1
-1
ConfigPublishListener.java
...amework/apollo/portal/listener/ConfigPublishListener.java
+1
-1
pom.xml
pom.xml
+1
-1
No files found.
apollo-adminservice/pom.xml
View file @
0f60cf9d
...
...
@@ -4,7 +4,7 @@
<parent>
<groupId>
com.ctrip.framework.apollo
</groupId>
<artifactId>
apollo
</artifactId>
<version>
0.9.
0
</version>
<version>
0.9.
1-SNAPSHOT
</version>
<relativePath>
../pom.xml
</relativePath>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
apollo-assembly/pom.xml
View file @
0f60cf9d
...
...
@@ -4,7 +4,7 @@
<parent>
<groupId>
com.ctrip.framework.apollo
</groupId>
<artifactId>
apollo
</artifactId>
<version>
0.9.
0
</version>
<version>
0.9.
1-SNAPSHOT
</version>
<relativePath>
../pom.xml
</relativePath>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
apollo-biz/pom.xml
View file @
0f60cf9d
...
...
@@ -4,7 +4,7 @@
<parent>
<groupId>
com.ctrip.framework.apollo
</groupId>
<artifactId>
apollo
</artifactId>
<version>
0.9.
0
</version>
<version>
0.9.
1-SNAPSHOT
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
apollo-biz
</artifactId>
...
...
apollo-buildtools/pom.xml
View file @
0f60cf9d
...
...
@@ -4,7 +4,7 @@
<parent>
<groupId>
com.ctrip.framework.apollo
</groupId>
<artifactId>
apollo
</artifactId>
<version>
0.9.
0
</version>
<version>
0.9.
1-SNAPSHOT
</version>
<relativePath>
../pom.xml
</relativePath>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
apollo-client/pom.xml
View file @
0f60cf9d
...
...
@@ -4,7 +4,7 @@
<parent>
<groupId>
com.ctrip.framework.apollo
</groupId>
<artifactId>
apollo
</artifactId>
<version>
0.9.
0
</version>
<version>
0.9.
1-SNAPSHOT
</version>
<relativePath>
../pom.xml
</relativePath>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
apollo-common/pom.xml
View file @
0f60cf9d
...
...
@@ -4,7 +4,7 @@
<parent>
<groupId>
com.ctrip.framework.apollo
</groupId>
<artifactId>
apollo
</artifactId>
<version>
0.9.
0
</version>
<version>
0.9.
1-SNAPSHOT
</version>
<relativePath>
../pom.xml
</relativePath>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
apollo-common/src/main/java/com/ctrip/framework/apollo/common/config/RefreshableConfig.java
View file @
0f60cf9d
...
...
@@ -58,7 +58,7 @@ public abstract class RefreshableConfig {
//task to update configs
ScheduledExecutorService
executorService
=
Executors
.
newScheduledThreadPool
(
1
,
ApolloThreadFactory
.
create
(
"ConfigRefresher"
,
fals
e
));
Executors
.
newScheduledThreadPool
(
1
,
ApolloThreadFactory
.
create
(
"ConfigRefresher"
,
tru
e
));
executorService
.
scheduleWithFixedDelay
(()
->
{
...
...
apollo-configservice/pom.xml
View file @
0f60cf9d
...
...
@@ -4,7 +4,7 @@
<parent>
<groupId>
com.ctrip.framework.apollo
</groupId>
<artifactId>
apollo
</artifactId>
<version>
0.9.
0
</version>
<version>
0.9.
1-SNAPSHOT
</version>
<relativePath>
../pom.xml
</relativePath>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
apollo-core/pom.xml
View file @
0f60cf9d
...
...
@@ -4,7 +4,7 @@
<parent>
<groupId>
com.ctrip.framework.apollo
</groupId>
<artifactId>
apollo
</artifactId>
<version>
0.9.
0
</version>
<version>
0.9.
1-SNAPSHOT
</version>
<relativePath>
../pom.xml
</relativePath>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
apollo-demo/pom.xml
View file @
0f60cf9d
...
...
@@ -4,7 +4,7 @@
<parent>
<artifactId>
apollo
</artifactId>
<groupId>
com.ctrip.framework.apollo
</groupId>
<version>
0.9.
0
</version>
<version>
0.9.
1-SNAPSHOT
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
apollo-demo
</artifactId>
...
...
apollo-portal/pom.xml
View file @
0f60cf9d
...
...
@@ -4,7 +4,7 @@
<parent>
<groupId>
com.ctrip.framework.apollo
</groupId>
<artifactId>
apollo
</artifactId>
<version>
0.9.
0
</version>
<version>
0.9.
1-SNAPSHOT
</version>
<relativePath>
../pom.xml
</relativePath>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/AdminServiceAddressLocator.java
View file @
0f60cf9d
...
...
@@ -58,7 +58,7 @@ public class AdminServiceAddressLocator {
restTemplate
=
restTemplateFactory
.
getObject
();
refreshServiceAddressService
=
Executors
.
newScheduledThreadPool
(
1
,
ApolloThreadFactory
.
create
(
"ServiceLocator"
,
fals
e
));
Executors
.
newScheduledThreadPool
(
1
,
ApolloThreadFactory
.
create
(
"ServiceLocator"
,
tru
e
));
refreshServiceAddressService
.
schedule
(
new
RefreshAdminServerAddressTask
(),
1
,
TimeUnit
.
MILLISECONDS
);
}
...
...
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/PortalSettings.java
View file @
0f60cf9d
...
...
@@ -54,7 +54,7 @@ public class PortalSettings {
ScheduledExecutorService
healthCheckService
=
Executors
.
newScheduledThreadPool
(
1
,
ApolloThreadFactory
.
create
(
"EnvHealthChecker"
,
fals
e
));
Executors
.
newScheduledThreadPool
(
1
,
ApolloThreadFactory
.
create
(
"EnvHealthChecker"
,
tru
e
));
healthCheckService
.
scheduleWithFixedDelay
(
new
HealthCheckTask
(
applicationContext
),
1000
,
HEALTH_CHECK_INTERVAL
,
...
...
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/listener/ConfigPublishListener.java
View file @
0f60cf9d
...
...
@@ -48,7 +48,7 @@ public class ConfigPublishListener {
@PostConstruct
public
void
init
()
{
executorService
=
Executors
.
newSingleThreadExecutor
(
ApolloThreadFactory
.
create
(
"ConfigPublishNotify"
,
fals
e
));
executorService
=
Executors
.
newSingleThreadExecutor
(
ApolloThreadFactory
.
create
(
"ConfigPublishNotify"
,
tru
e
));
}
@EventListener
...
...
pom.xml
View file @
0f60cf9d
...
...
@@ -5,7 +5,7 @@
<groupId>
com.ctrip.framework.apollo
</groupId>
<artifactId>
apollo
</artifactId>
<version>
0.9.
0
</version>
<version>
0.9.
1-SNAPSHOT
</version>
<name>
Apollo
</name>
<packaging>
pom
</packaging>
<description>
Ctrip Configuration Center
</description>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment