redis服务增加密码

master
星期八 4 years ago
parent db2f8b3235
commit 471a9a9b22
  1. 1
      src/main/resources/spring/spring-redis.xml

@ -63,6 +63,7 @@
<bean id="jedisConnectionFactory" class="org.springframework.data.redis.connection.jedis.JedisConnectionFactory" destroy-method="destroy"
p:hostName="${redis.host}"
p:port="${redis.port}"
p:password="${redis.pass}"
p:poolConfig-ref="jedisConfig"
/>

Loading…
Cancel
Save