Toggle navigation
Toggle navigation
This project
Loading...
Sign in
yangyoupeng
/
microservice
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
yangyoupeng
2017-01-24 15:37:07 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2ce7e75113f5d445417a5e6a04e2709f427ca8f8
2ce7e751
1 parent
75f8d057
交接提交
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
src/microservice-parent/support-gateway/src/main/java/com/zhaoonline/support/gateway/service/ServiceLRUCache.java
src/microservice-parent/support-gateway/src/main/resources/application.properties
src/microservice-parent/support-gateway/src/main/java/com/zhaoonline/support/gateway/service/ServiceLRUCache.java
View file @
2ce7e75
...
...
@@ -18,7 +18,7 @@ public class ServiceLRUCache {
}
public
ServiceLRUCache
(
int
capacity
)
{
this
.
capacity
=
capacity
;
this
.
serviceLRUcache
=
new
ConcurrentHashMap
<
String
,
AbstractService
>(
200
);
this
.
serviceLRUcache
=
new
ConcurrentHashMap
<
String
,
AbstractService
>(
capacity
);
}
/**
* serialVersionUID:TODO
...
...
src/microservice-parent/support-gateway/src/main/resources/application.properties
View file @
2ce7e75
...
...
@@ -3,7 +3,7 @@ application.message=\u8D75\u6D8C\u5728\u7EBFAPI GateWay\u6B22\u8FCE\u60A8
spring.application.name
=
apigateway
server.port
=
80
#server.address=192.168.0.162
server.address
=
192.168.1.102
#
server.address=192.168.1.102
es.host
=
192.168.0.162
es.port
=
9300
...
...
Please
register
or
login
to post a comment