mirror of
https://gitee.com/incloudcode/yexuejc-springboot.git
synced 2025-11-18 22:57:42 +08:00
2.1.0 更新redis配置
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user