mirror of
https://gitee.com/incloudcode/yexuejc-springboot.git
synced 2025-07-18 17:49:32 +08:00
2.1.0 更新redis配置
This commit is contained in:
parent
8e86b352ac
commit
73b767786f
@ -73,6 +73,7 @@ public class MutiRedisAutoConfiguration {
|
|||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@ConditionalOnClass(GenericObjectPool.class)
|
@ConditionalOnClass(GenericObjectPool.class)
|
||||||
|
@ConditionalOnProperty(name = "yexuejc.autoconfigure.redis.enable", matchIfMissing = false)
|
||||||
protected static class RedisConnectionConfiguration {
|
protected static class RedisConnectionConfiguration {
|
||||||
|
|
||||||
private final RedisProperties properties;
|
private final RedisProperties properties;
|
||||||
@ -163,6 +164,7 @@ public class MutiRedisAutoConfiguration {
|
|||||||
* Standard Redis configuration.
|
* Standard Redis configuration.
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration
|
||||||
|
@ConditionalOnProperty(name = "yexuejc.autoconfigure.redis.enable", matchIfMissing = false)
|
||||||
protected static class RedisConfiguration {
|
protected static class RedisConfiguration {
|
||||||
|
|
||||||
@Primary
|
@Primary
|
||||||
|
Loading…
x
Reference in New Issue
Block a user