From ed413ae5e0eeb9ff4b7d8b2274d70e3e1d149278 Mon Sep 17 00:00:00 2001 From: 沈斌 <bluelazysb@hotmail.com> Date: Wed, 01 Nov 2017 11:43:08 +0800 Subject: [PATCH] 暂停保存数据 --- src/main/resources/redis.xml | 16 ++++------------ 1 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/main/resources/redis.xml b/src/main/resources/redis.xml index 2db0476..b162028 100644 --- a/src/main/resources/redis.xml +++ b/src/main/resources/redis.xml @@ -30,18 +30,10 @@ <property name="connectionFactory" ref="jedisConnectionFactory" /> <property name="defaultSerializer" ref="stringRedisSerializer" /> - <property name="keySerializer"> - <bean class="org.springframework.data.redis.serializer.StringRedisSerializer" /> - </property> - <property name="valueSerializer"> - <bean class="org.springframework.data.redis.serializer.StringRedisSerializer" /> - </property> - <property name="hashKeySerializer"> - <bean class="org.springframework.data.redis.serializer.StringRedisSerializer" /> - </property> - <property name="hashValueSerializer"> - <bean class="org.springframework.data.redis.serializer.StringRedisSerializer" /> - </property> + <property name="keySerializer" ref="stringRedisSerializer" /> + <property name="valueSerializer" ref="stringRedisSerializer" /> + <property name="hashKeySerializer" ref="stringRedisSerializer" /> + <property name="hashValueSerializer" ref="stringRedisSerializer" /> </bean> </beans> \ No newline at end of file -- Gitblit v1.8.0