Browse Source

@IPU_FIXBUG_2021@为redis设置访问密码

weihf 4 years ago
parent
commit
3e50353175
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ipu-rest-scaffold/src/main/resources/docker/ipu-cache.xml

+ 1 - 1
ipu-rest-scaffold/src/main/resources/docker/ipu-cache.xml

10
		<!-- 客户端类型:Jedis,JedisCluster -->
10
		<!-- 客户端类型:Jedis,JedisCluster -->
11
		<config name="clientType" value="Jedis" />
11
		<config name="clientType" value="Jedis" />
12
		<!-- 访问redis的密码,可以为空 -->
12
		<!-- 访问redis的密码,可以为空 -->
13
		<config name="auth" value="" />
13
		<config name="auth" value="ipu@321" />
14
		<!-- redis池的可用连接实例的最大数目,缺省为8 -->
14
		<!-- redis池的可用连接实例的最大数目,缺省为8 -->
15
		<config name="poolSize" value="10" />
15
		<config name="poolSize" value="10" />
16
		<!-- redis池最多有多少个状态为idle(空闲的)的jedis实例,缺省为8,空闲连接大于这个数会进行回收 -->
16
		<!-- redis池最多有多少个状态为idle(空闲的)的jedis实例,缺省为8,空闲连接大于这个数会进行回收 -->