【修改】修改redis端口
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -153,7 +153,7 @@ spring:
|
||||
min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
|
||||
shutdown-timeout: 100ms
|
||||
password: 'hzwlsoft.com'
|
||||
port: 6379
|
||||
port: 4780
|
||||
#mybatis plus 设置
|
||||
mybatis-plus:
|
||||
mapper-locations: classpath*:com/jero/**/xml/*Mapper.xml
|
||||
@@ -240,7 +240,7 @@ jero :
|
||||
data-type: yml
|
||||
#分布式锁配置
|
||||
redisson:
|
||||
address: 127.0.0.1:6379
|
||||
address: 127.0.0.1:4780
|
||||
password:
|
||||
type: STANDALONE
|
||||
enabled: true
|
||||
|
||||
@@ -153,7 +153,7 @@ spring:
|
||||
min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
|
||||
shutdown-timeout: 100ms
|
||||
password: ''
|
||||
port: 6379
|
||||
port: 4780
|
||||
#mybatis plus 设置
|
||||
mybatis-plus:
|
||||
mapper-locations: classpath*:com/jero/**/xml/*Mapper.xml
|
||||
@@ -240,7 +240,7 @@ jero :
|
||||
data-type: yml
|
||||
#分布式锁配置
|
||||
redisson:
|
||||
address: 127.0.0.1:6379
|
||||
address: 127.0.0.1:4780
|
||||
password:
|
||||
type: STANDALONE
|
||||
enabled: true
|
||||
|
||||
@@ -153,7 +153,7 @@ spring:
|
||||
min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
|
||||
shutdown-timeout: 100ms
|
||||
password: ''
|
||||
port: 6379
|
||||
port: 4780
|
||||
#mybatis plus 设置
|
||||
mybatis-plus:
|
||||
mapper-locations: classpath*:com/jero/**/xml/*Mapper.xml
|
||||
@@ -240,7 +240,7 @@ jero :
|
||||
data-type: yml
|
||||
#分布式锁配置
|
||||
redisson:
|
||||
address: 127.0.0.1:6379
|
||||
address: 127.0.0.1:4780
|
||||
password:
|
||||
type: STANDALONE
|
||||
enabled: true
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ import org.redisson.config.Config;
|
||||
/**
|
||||
* 集群方式Redisson配置
|
||||
* cluster方式至少6个节点(3主3从)
|
||||
* 配置方式:127.0.0.1:6379,127.0.0.1:6380,127.0.0.1:6381,127.0.0.1:6382,127.0.0.1:6383,127.0.0.1:6384
|
||||
* 配置方式:127.0.0.1:4780,127.0.0.1:6380,127.0.0.1:6381,127.0.0.1:6382,127.0.0.1:6383,127.0.0.1:6384
|
||||
*
|
||||
* @author zyf
|
||||
* @date 2020-11-11
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
* 主从方式Redisson配置
|
||||
* <p>配置方式: 127.0.0.1:6379(主),127.0.0.1:6380(子),127.0.0.1:6381(子)</p>
|
||||
* <p>配置方式: 127.0.0.1:4780(主),127.0.0.1:6380(子),127.0.0.1:6381(子)</p>
|
||||
*
|
||||
* @author zyf
|
||||
* @date 2020-11-11
|
||||
|
||||
@@ -57,7 +57,7 @@ spring:
|
||||
min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
|
||||
shutdown-timeout: 100ms
|
||||
password:
|
||||
port: 6379
|
||||
port: 4780
|
||||
#rabbitmq配置
|
||||
rabbitmq:
|
||||
host: 127.0.0.1
|
||||
@@ -142,7 +142,7 @@ jero :
|
||||
data-type: yml
|
||||
#分布式锁配置
|
||||
redisson:
|
||||
address: 127.0.0.1:6379
|
||||
address: 127.0.0.1:4780
|
||||
password:
|
||||
type: STANDALONE
|
||||
enabled: true
|
||||
|
||||
Reference in New Issue
Block a user