File tree Expand file tree Collapse file tree
src/main/resources/config Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 <artifactId >core</artifactId >
1818 <version >1.0.0-SNAPSHOT</version >
1919 </dependency >
20+ <dependency >
21+ <groupId >org.springframework.boot</groupId >
22+ <artifactId >spring-boot-starter-redis</artifactId >
23+ </dependency >
2024 </dependencies >
2125
2226
Original file line number Diff line number Diff line change @@ -21,19 +21,14 @@ spring.jpa.show-sql=true
2121# redis
2222# Redis\u6570\u636E\u5E93\u7D22\u5F15\uFF08\u9ED8\u8BA4\u4E3A0\uFF09
2323spring.redis.database =0
24- # Redis\u670D\u52A1\u5668\u5730\u5740
25- spring.redis.host =localhost
26- # Redis\u670D\u52A1\u5668\u8FDE\u63A5\u7AEF\u53E3
24+ spring.redis.host =115.29.137.34
2725spring.redis.port =6379
2826# Redis\u670D\u52A1\u5668\u8FDE\u63A5\u5BC6\u7801\uFF08\u9ED8\u8BA4\u4E3A\u7A7A\uFF09
2927spring.redis.password =
3028# \u8FDE\u63A5\u6C60\u6700\u5927\u8FDE\u63A5\u6570\uFF08\u4F7F\u7528\u8D1F\u503C\u8868\u793A\u6CA1\u6709\u9650\u5236\uFF09
3129spring.redis.pool.max-active =8
3230# \u8FDE\u63A5\u6C60\u6700\u5927\u963B\u585E\u7B49\u5F85\u65F6\u95F4\uFF08\u4F7F\u7528\u8D1F\u503C\u8868\u793A\u6CA1\u6709\u9650\u5236\uFF09
3331spring.redis.pool.max-wait =-1
34- # \u8FDE\u63A5\u6C60\u4E2D\u7684\u6700\u5927\u7A7A\u95F2\u8FDE\u63A5
3532spring.redis.pool.max-idle =8
36- # \u8FDE\u63A5\u6C60\u4E2D\u7684\u6700\u5C0F\u7A7A\u95F2\u8FDE\u63A5
3733spring.redis.pool.min-idle =0
38- # \u8FDE\u63A5\u8D85\u65F6\u65F6\u95F4\uFF08\u6BEB\u79D2\uFF09
3934spring.redis.timeout =0
You can’t perform that action at this time.
0 commit comments