Commit ae12623c by huangfusuper

Merge remote-tracking branch 'origin/developer' into developer

parents 806e123c 13143559
......@@ -11,9 +11,9 @@ public class RedisConfig {
@Bean
StringRedisTemplate stringRedisTemplate(RedisConnectionFactory connectionFactory){
StringRedisTemplate stringRedisTemplate = new StringRedisTemplate();
stringRedisTemplate.setConnectionFactory(connectionFactory);
stringRedisTemplate.setDefaultSerializer(new StringRedisSerializer());
return stringRedisTemplate;
// StringRedisTemplate stringRedisTemplate = new StringRedisTemplate();
// stringRedisTemplate.setConnectionFactory(connectionFactory);
// stringRedisTemplate.setDefaultSerializer(new StringRedisSerializer());
return new StringRedisTemplate(connectionFactory);
}
}
......@@ -28,4 +28,4 @@ spring:
max-wait: 1
max-idle: 8
min-idle: 0
timeout: 0
timeout: 60000
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment