Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yaconf
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bp
yaconf
Commits
7b386725
Commit
7b386725
authored
Oct 27, 2021
by
顾文旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify redis config
parent
8cf6bd0e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
144 additions
and
167 deletions
+144
-167
redis.ini
redis.ini
+144
-167
No files found.
redis.ini
View file @
7b386725
...
...
@@ -3,27 +3,29 @@
[gateway : common]
[prod-gateway : gateway : common]
cacheConnect.mode
=
'codis'
cacheConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18134/topom'
cacheConnect.fallback
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'igbinary'
cacheConnect.prefix
=
''
redisConnect.mode
=
'redis'
redisConnect.address.master
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.address.slave
=
'bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
redisConnect.fallback
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.password
=
''
redisConnect.select
=
0
redisConnect.timeout
=
1
redisConnect.serializer
=
'none|php|igbinary|msgpack'
redisConnect.prefix
=
''
[perf-gateway : prod-gateway : gateway : common]
[test-gateway : gateway : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode
=
'codis'
cacheConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18131/topom'
cacheConnect.fallback
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'igbinary'
cacheConnect.prefix
=
''
redisConnect.mode
=
'redis'
redisConnect.address.master
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.address.slave
=
'bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
redisConnect.fallback
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.password
=
''
redisConnect.select
=
0
redisConnect.timeout
=
1
redisConnect.serializer
=
'none|php|igbinary|msgpack'
redisConnect.prefix
=
''
[dev-gateway : test-gateway : gateway : common]
...
...
@@ -35,46 +37,30 @@ cacheConnect.prefix=''
;商户项目继承common + 自己的配置 + 生产环境特有有配置,此节中配置会覆盖父级的相同配置
[prod-merchant : merchant : common]
cacheConnect.mode
=
'codis'
cacheConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18135/topom'
cacheConnect.fallback
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'igbinary'
cacheConnect.prefix
=
''
countConnect.mode
=
'codis'
countConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18138/topom'
countConnect.fallback
=
''
countConnect.password
=
''
countConnect.select
=
0
countConnect.timeout
=
1
countConnect.serializer
=
'none'
countConnect.prefix
=
''
redisConnect.mode
=
'redis'
redisConnect.address.master
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.address.slave
=
'bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
redisConnect.fallback
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.password
=
''
redisConnect.select
=
0
redisConnect.timeout
=
1
redisConnect.serializer
=
'none|php|igbinary|msgpack'
redisConnect.prefix
=
''
;商户项目继承common + 自己的配置 + 测试环境特有有配置,此节中配置会覆盖父级的相同配置
[perf-merchant : prod-merchant : merchant : common]
[test-merchant : prod-merchant : merchant : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode
=
'codis'
cacheConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18131/topom'
cacheConnect.fallback
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'igbinary'
cacheConnect.prefix
=
''
countConnect.mode
=
'codis'
countConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18131/topom'
countConnect.fallback
=
''
countConnect.password
=
''
countConnect.select
=
0
countConnect.timeout
=
1
countConnect.serializer
=
'none'
countConnect.prefix
=
''
redisConnect.mode
=
'redis'
redisConnect.address.master
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.address.slave
=
'bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
redisConnect.fallback
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.password
=
''
redisConnect.select
=
0
redisConnect.timeout
=
1
redisConnect.serializer
=
'none|php|igbinary|msgpack'
redisConnect.prefix
=
''
[dev-merchant : test-merchant : prod-merchant : merchant : common]
...
...
@@ -84,46 +70,29 @@ countConnect.prefix=''
[interaction : common]
[prod-interaction : interaction : common]
cacheConnect.mode
=
'codis'
cacheConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18139/topom'
cacheConnect.fallback
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'none'
cacheConnect.prefix
=
''
countConnect.mode
=
'codis'
countConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18139/topom'
countConnect.fallback
=
''
countConnect.password
=
''
countConnect.select
=
0
countConnect.timeout
=
1
countConnect.serializer
=
'none'
countConnect.prefix
=
''
redisConnect.mode
=
'redis'
redisConnect.address.master
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.address.slave
=
'bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
redisConnect.fallback
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.password
=
''
redisConnect.select
=
0
redisConnect.timeout
=
1
redisConnect.serializer
=
'none|php|igbinary|msgpack'
redisConnect.prefix
=
''
[perf-interaction : prod-interaction : interaction : common]
[test-interaction : interaction : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode
=
'codis'
cacheConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18131/topom'
cacheConnect.fallback
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'none'
cacheConnect.prefix
=
''
countConnect.mode
=
'codis'
countConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18131/topom'
countConnect.fallback
=
''
countConnect.password
=
''
countConnect.select
=
0
countConnect.timeout
=
1
countConnect.serializer
=
'none'
countConnect.prefix
=
''
redisConnect.mode
=
'redis'
redisConnect.address.master
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.address.slave
=
'bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
redisConnect.fallback
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.password
=
''
redisConnect.select
=
0
redisConnect.timeout
=
1
redisConnect.serializer
=
'none|php|igbinary|msgpack'
redisConnect.prefix
=
''
[dev-interaction : test-interaction : interaction : common]
...
...
@@ -132,80 +101,85 @@ countConnect.prefix=''
[goods : common]
[prod-goods : goods : common]
cacheConnect.mode
=
'codis'
cacheConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18136/topom'
cacheConnect.fallback
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'igbinary'
cacheConnect.prefix
=
''
redisConnect.mode
=
'redis'
redisConnect.address.master
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.address.slave
=
'bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
redisConnect.fallback
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.password
=
''
redisConnect.select
=
0
redisConnect.timeout
=
1
redisConnect.serializer
=
'none|php|igbinary|msgpack'
redisConnect.prefix
=
''
[perf-goods : prod-goods : goods : common]
[test-goods : goods : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode
=
'codis'
cacheConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18131/topom'
cacheConnect.fallback
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'igbinary'
cacheConnect.prefix
=
''
redisConnect.mode
=
'redis'
redisConnect.address.master
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.address.slave
=
'bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
redisConnect.fallback
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.password
=
''
redisConnect.select
=
0
redisConnect.timeout
=
1
redisConnect.serializer
=
'none|php|igbinary|msgpack'
redisConnect.prefix
=
''
[dev-goods : test-goods : goods : common]
[order : common]
[prod-order : order : common]
cacheConnect.mode
=
'co
dis'
cacheConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18136/topom
'
cacheConnect.fallback
=
'
'
cacheConnect.password
=
'
'
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'igbinary'
cacheConnect.prefix
=
'
'
redisConnect.mode
=
're
dis'
redisConnect.address.master
=
'bp-test.redis.jwshq-inc.cn:6379
'
redisConnect.address.slave
=
'bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379
'
redisConnect.fallback
=
'bp-test.redis.jwshq-inc.cn:6379
'
redisConnect.password
=
''
redisConnect.select
=
0
redisConnect.timeout
=
1
redisConnect.serializer
=
'none|php|igbinary|msgpack
'
redisConnect.prefix
=
''
[perf-order : prod-order : order : common]
[test-order : order : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode
=
'codis'
cacheConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18131/topom'
cacheConnect.fallback
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'igbinary'
cacheConnect.prefix
=
''
redisConnect.mode
=
'redis'
redisConnect.address.master
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.address.slave
=
'bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
redisConnect.fallback
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.password
=
''
redisConnect.select
=
0
redisConnect.timeout
=
1
redisConnect.serializer
=
'none|php|igbinary|msgpack'
redisConnect.prefix
=
''
[dev-order : test-order : order : common]
[coupon : common]
[prod-coupon : coupon : common]
cacheConnect.mode
=
'codis'
cacheConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18136/topom'
cacheConnect.fallback
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'igbinary'
cacheConnect.prefix
=
''
redisConnect.mode
=
'redis'
redisConnect.address.master
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.address.slave
=
'bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
redisConnect.fallback
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.password
=
''
redisConnect.select
=
0
redisConnect.timeout
=
1
redisConnect.serializer
=
'none|php|igbinary|msgpack'
redisConnect.prefix
=
''
[perf-order : prod-coupon : coupon : common]
[test-order : coupon : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode
=
'codis'
cacheConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18131/topom'
cacheConnect.fallback
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'igbinary'
cacheConnect.prefix
=
''
redisConnect.mode
=
'redis'
redisConnect.address.master
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.address.slave
=
'bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
redisConnect.fallback
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.password
=
''
redisConnect.select
=
0
redisConnect.timeout
=
1
redisConnect.serializer
=
'none|php|igbinary|msgpack'
redisConnect.prefix
=
''
[dev-coupon : test-coupon : coupon : common]
...
...
@@ -213,52 +187,55 @@ cacheConnect.prefix=''
[wallet : common]
[prod-wallet : wallet : common]
cacheConnect.mode
=
'codis'
cacheConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18138/topom'
cacheConnect.fallback
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'igbinary'
cacheConnect.prefix
=
''
redisConnect.mode
=
'redis'
redisConnect.address.master
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.address.slave
=
'bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
redisConnect.fallback
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.password
=
''
redisConnect.select
=
0
redisConnect.timeout
=
1
redisConnect.serializer
=
'none|php|igbinary|msgpack'
redisConnect.prefix
=
''
[perf-wallet : prod-wallet : wallet : common]
[test-wallet : wallet : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode
=
'codis'
cacheConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18131/topom'
cacheConnect.fallback
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'igbinary'
cacheConnect.prefix
=
''
redisConnect.mode
=
'redis'
redisConnect.address.master
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.address.slave
=
'bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
redisConnect.fallback
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.password
=
''
redisConnect.select
=
0
redisConnect.timeout
=
1
redisConnect.serializer
=
'none|php|igbinary|msgpack'
redisConnect.prefix
=
''
[dev-wallet : test-wallet : wallet : common]
;钱包redis
[account : common]
[prod-account : account : common]
cacheConnect.mode
=
'co
dis'
cacheConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18138/topom
'
cacheConnect.fallback
=
'
'
cacheConnect.password
=
'
'
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'igbinary'
cacheConnect.prefix
=
'
'
redisConnect.mode
=
're
dis'
redisConnect.address.master
=
'bp-test.redis.jwshq-inc.cn:6379
'
redisConnect.address.slave
=
'bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379
'
redisConnect.fallback
=
'bp-test.redis.jwshq-inc.cn:6379
'
redisConnect.password
=
''
redisConnect.select
=
0
redisConnect.timeout
=
1
redisConnect.serializer
=
'none|php|igbinary|msgpack
'
redisConnect.prefix
=
''
[perf-account : prod-account : account : common]
[test-account : account : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode
=
'codis'
cacheConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18131/topom'
cacheConnect.fallback
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'igbinary'
cacheConnect.prefix
=
''
redisConnect.mode
=
'redis'
redisConnect.address.master
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.address.slave
=
'bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
redisConnect.fallback
=
'bp-test.redis.jwshq-inc.cn:6379'
redisConnect.password
=
''
redisConnect.select
=
0
redisConnect.timeout
=
1
redisConnect.serializer
=
'none|php|igbinary|msgpack'
redisConnect.prefix
=
''
[dev-account : test-account : account : common]
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment