Skip to content

Commit

Permalink
adjust cache period for portal
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodyiam committed Aug 12, 2018
1 parent 69677b7 commit 9188ff2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ SHOW VARIABLES WHERE Variable_name = 'version';
* **由于Quick Start项目比较大,所以放在了另外的repository,请注意项目地址**
* https://github.com/nobodyiam/apollo-build-scripts
2. 从百度网盘下载
* 通过[网盘链接](https://pan.baidu.com/s/1i-UaAdyJoZ34lyKVlaN20g)下载
* 通过[网盘链接](https://pan.baidu.com/s/187W86LoeVuv3DMrOJhcg1A)下载
* 下载到本地后,在本地解压apollo-quick-start.zip
3. 为啥安装包要50M这么大?
* 因为这是一个可以自启动的jar包,里面包含了所有依赖jar包以及一个内置的tomcat容器
Expand Down Expand Up @@ -242,4 +242,4 @@ Apollo Config Demo. Please input key to get the value. Input quit to exit.
```properties
app.id=你的appId
```
运行`./demo.sh client`启动Demo客户端即可。
# 运行`./demo.sh client`启动Demo客户端即可。
2 changes: 1 addition & 1 deletion demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ portal_url=http://localhost:8070
BASE_JAVA_OPTS="-Denv=dev"
CLIENT_JAVA_OPTS="$BASE_JAVA_OPTS -Dapollo.meta=$config_server_url"
SERVER_JAVA_OPTS="$BASE_JAVA_OPTS -Dspring.profiles.active=github -Deureka.service.url=$eureka_service_url"
PORTAL_JAVA_OPTS="$BASE_JAVA_OPTS -Ddev_meta=$config_server_url -Dspring.profiles.active=github,auth"
PORTAL_JAVA_OPTS="$BASE_JAVA_OPTS -Ddev_meta=$config_server_url -Dspring.profiles.active=github,auth -Dspring.resources.cache-period=86400"

# executable
JAR_FILE=apollo-all-in-one.jar
Expand Down

0 comments on commit 9188ff2

Please sign in to comment.