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