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
25df1828
Commit
25df1828
authored
Jun 12, 2017
by
nobodyiam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enlarge instance config cache limit
parent
7d0f0819
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
InstanceConfigAuditUtil.java
...rk/apollo/configservice/util/InstanceConfigAuditUtil.java
+3
-3
No files found.
apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/util/InstanceConfigAuditUtil.java
View file @
25df1828
...
...
@@ -33,9 +33,9 @@ import java.util.concurrent.atomic.AtomicBoolean;
*/
@Service
public
class
InstanceConfigAuditUtil
implements
InitializingBean
{
private
static
final
int
INSTANCE_CONFIG_AUDIT_MAX_SIZE
=
2
000
;
private
static
final
int
INSTANCE_CACHE_MAX_SIZE
=
1
0000
;
private
static
final
int
INSTANCE_CONFIG_CACHE_MAX_SIZE
=
1
0000
;
private
static
final
int
INSTANCE_CONFIG_AUDIT_MAX_SIZE
=
10
000
;
private
static
final
int
INSTANCE_CACHE_MAX_SIZE
=
5
0000
;
private
static
final
int
INSTANCE_CONFIG_CACHE_MAX_SIZE
=
5
0000
;
private
static
final
long
OFFER_TIME_LAST_MODIFIED_TIME_THRESHOLD_IN_MILLI
=
TimeUnit
.
MINUTES
.
toMillis
(
10
);
//10 minutes
private
static
final
Joiner
STRING_JOINER
=
Joiner
.
on
(
ConfigConsts
.
CLUSTER_NAMESPACE_SEPARATOR
);
private
final
ExecutorService
auditExecutorService
;
...
...
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