feat(memberCenter): 调整
parent
2d8ee1bb8e
commit
f5037353d9
|
@ -97,7 +97,8 @@ spring:
|
||||||
# 连接池的最大数据库连接数
|
# 连接池的最大数据库连接数
|
||||||
max-active: 1000
|
max-active: 1000
|
||||||
# #连接池最大阻塞等待时间(使用负值表示没有限制)
|
# #连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||||
max-wait: -1ms # 默认使用的数据库索引
|
max-wait: -1ms
|
||||||
|
time-between-eviction-runs: 6000
|
||||||
#ai配置
|
#ai配置
|
||||||
ai:
|
ai:
|
||||||
dashscope:
|
dashscope:
|
||||||
|
|
|
@ -91,13 +91,14 @@ spring:
|
||||||
lettuce:
|
lettuce:
|
||||||
pool:
|
pool:
|
||||||
# 连接池中的最小空闲连接
|
# 连接池中的最小空闲连接
|
||||||
min-idle: 0
|
min-idle: 5
|
||||||
# 连接池中的最大空闲连接
|
# 连接池中的最大空闲连接
|
||||||
max-idle: 8
|
max-idle: 10
|
||||||
# 连接池的最大数据库连接数
|
# 连接池的最大数据库连接数
|
||||||
max-active: 8
|
max-active: 1000
|
||||||
# #连接池最大阻塞等待时间(使用负值表示没有限制)
|
# #连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||||
max-wait: -1ms
|
max-wait: -1ms
|
||||||
|
time-between-eviction-runs: 6000
|
||||||
|
|
||||||
|
|
||||||
# token配置
|
# token配置
|
||||||
|
|
|
@ -79,7 +79,7 @@ public class RedisConfig extends CachingConfigurerSupport
|
||||||
* @return RedisConnectionFactory
|
* @return RedisConnectionFactory
|
||||||
*/
|
*/
|
||||||
@Bean
|
@Bean
|
||||||
public RedisConnectionFactory redisConnectionFactory() {
|
public LettuceConnectionFactory redisConnectionFactory() {
|
||||||
RedisStandaloneConfiguration standaloneConfig = new RedisStandaloneConfiguration("1.13.246.108", 6370);
|
RedisStandaloneConfiguration standaloneConfig = new RedisStandaloneConfiguration("1.13.246.108", 6370);
|
||||||
standaloneConfig.setPassword(RedisPassword.of("MuYu_Cloud@Redis"));
|
standaloneConfig.setPassword(RedisPassword.of("MuYu_Cloud@Redis"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue