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