Skip to content

Commit 623125b

Browse files
author
Xiong Neng
committed
完成springboot-rabbitmq-rpc和springboot-redis升级重构
1 parent 1c339ec commit 623125b

File tree

3 files changed

+4
-11
lines changed

3 files changed

+4
-11
lines changed

springboot-rabbitmq-rpc/springboot-rabbitmq-rpc-client/src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spring:
1515
spring:
1616
profiles: dev
1717
rabbitmq:
18-
host: 119.29.12.177
18+
host: 127.0.0.1
1919
port: 5672
2020
username: guest
2121
password: guest

springboot-rabbitmq-rpc/springboot-rabbitmq-rpc-server/src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spring:
1515
spring:
1616
profiles: dev
1717
rabbitmq:
18-
host: 119.29.12.177
18+
host: 127.0.0.1
1919
port: 5672
2020
username: guest
2121
password: guest

springboot-redis/src/main/resources/application.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spring:
77
profiles:
88
active: dev
99
datasource:
10-
url: jdbc:mysql://127.0.0.1:3306/test?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
10+
url: jdbc:mysql://127.0.0.1:3306/test?serverTimezone=UTC&useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
1111
username: root
1212
password: 123456
1313

@@ -37,13 +37,6 @@ logging:
3737
#####################################################################
3838
spring:
3939
profiles: dev
40-
cache:
41-
type: REDIS
42-
redis:
43-
cache-null-values: false
44-
time-to-live: 600000ms
45-
use-key-prefix: true
46-
cache-names: userCache,allUsersCache
4740
redis:
4841
host: 127.0.0.1
4942
port: 6379
@@ -61,5 +54,5 @@ logging:
6154
ROOT: INFO
6255
com:
6356
xncoding: DEBUG
64-
file: E:/logs/app.log
57+
file: D:/logs/app.log
6558

0 commit comments

Comments
 (0)