Temp revert "Lazily instantiate shared Lettuce connection"

This reverts commit f9cdad751c.
This commit is contained in:
Jennifer Hickey
2013-08-19 12:14:43 -07:00
parent e94fa9a35a
commit c6a2a4f7da
2 changed files with 18 additions and 8 deletions

View File

@@ -95,6 +95,10 @@ public class LettuceConnectionFactory implements InitializingBean, DisposableBea
public void afterPropertiesSet() {
this.client = createRedisClient();
resetConnection();
if (shareNativeConnection) {
initConnection();
}
}
public void destroy() {