配置文件优化
Showing
2 changed files
with
5 additions
and
9 deletions
... | @@ -53,15 +53,11 @@ spring: | ... | @@ -53,15 +53,11 @@ spring: |
53 | redis: | 53 | redis: |
54 | #数据库索引 | 54 | #数据库索引 |
55 | database: 0 | 55 | database: 0 |
56 | host: 122.112.214.149 | 56 | host: localhost |
57 | # host: 139.196.192.242 | ||
58 | port: 6379 | 57 | port: 6379 |
59 | #连接超时时间 | 58 | #连接超时时间 |
60 | timeout: 5000 | 59 | timeout: 5000 |
61 | password: redis123 | ||
62 | #缓存过期时间 | 60 | #缓存过期时间 |
63 | expire-minutes: 5 | 61 | expire-minutes: 5 |
64 | # sentinel: | 62 | |
65 | # master: mymaster | ||
66 | # nodes: 122.112.214.149:6379,122.112.214.149:6379 | ||
67 | 63 | ... | ... |
-
Please register or sign in to post a comment