Commit 7b386725 authored by 顾文旭's avatar 顾文旭

modify redis config

parent 8cf6bd0e
...@@ -3,27 +3,29 @@ ...@@ -3,27 +3,29 @@
[gateway : common] [gateway : common]
[prod-gateway : gateway : common] [prod-gateway : gateway : common]
cacheConnect.mode='codis' redisConnect.mode='redis'
cacheConnect.topom='bj2-e05-126-165-6-lg.yidian.com:18134/topom' redisConnect.address.master='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='' redisConnect.address.slave='bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.password='' redisConnect.fallback='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.select=0 redisConnect.password=''
cacheConnect.timeout=1 redisConnect.select=0
cacheConnect.serializer='igbinary' redisConnect.timeout=1
cacheConnect.prefix='' redisConnect.serializer='none|php|igbinary|msgpack'
redisConnect.prefix=''
[perf-gateway : prod-gateway : gateway : common] [perf-gateway : prod-gateway : gateway : common]
[test-gateway : gateway : common] [test-gateway : gateway : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary) ;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode='codis' redisConnect.mode='redis'
cacheConnect.topom='bj2-e05-126-165-6-lg.yidian.com:18131/topom' redisConnect.address.master='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='' redisConnect.address.slave='bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.password='' redisConnect.fallback='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.select=0 redisConnect.password=''
cacheConnect.timeout=1 redisConnect.select=0
cacheConnect.serializer='igbinary' redisConnect.timeout=1
cacheConnect.prefix='' redisConnect.serializer='none|php|igbinary|msgpack'
redisConnect.prefix=''
[dev-gateway : test-gateway : gateway : common] [dev-gateway : test-gateway : gateway : common]
...@@ -35,46 +37,30 @@ cacheConnect.prefix='' ...@@ -35,46 +37,30 @@ cacheConnect.prefix=''
;商户项目继承common + 自己的配置 + 生产环境特有有配置,此节中配置会覆盖父级的相同配置 ;商户项目继承common + 自己的配置 + 生产环境特有有配置,此节中配置会覆盖父级的相同配置
[prod-merchant : merchant : common] [prod-merchant : merchant : common]
cacheConnect.mode='codis' redisConnect.mode='redis'
cacheConnect.topom='bj2-e05-126-165-6-lg.yidian.com:18135/topom' redisConnect.address.master='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='' redisConnect.address.slave='bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.password='' redisConnect.fallback='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.select=0 redisConnect.password=''
cacheConnect.timeout=1 redisConnect.select=0
cacheConnect.serializer='igbinary' redisConnect.timeout=1
cacheConnect.prefix='' redisConnect.serializer='none|php|igbinary|msgpack'
redisConnect.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=''
;商户项目继承common + 自己的配置 + 测试环境特有有配置,此节中配置会覆盖父级的相同配置 ;商户项目继承common + 自己的配置 + 测试环境特有有配置,此节中配置会覆盖父级的相同配置
[perf-merchant : prod-merchant : merchant : common] [perf-merchant : prod-merchant : merchant : common]
[test-merchant : prod-merchant : merchant : common] [test-merchant : prod-merchant : merchant : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary) ;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode='codis' redisConnect.mode='redis'
cacheConnect.topom='bj2-e05-126-165-6-lg.yidian.com:18131/topom' redisConnect.address.master='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='' redisConnect.address.slave='bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.password='' redisConnect.fallback='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.select=0 redisConnect.password=''
cacheConnect.timeout=1 redisConnect.select=0
cacheConnect.serializer='igbinary' redisConnect.timeout=1
cacheConnect.prefix='' redisConnect.serializer='none|php|igbinary|msgpack'
redisConnect.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=''
[dev-merchant : test-merchant : prod-merchant : merchant : common] [dev-merchant : test-merchant : prod-merchant : merchant : common]
...@@ -84,46 +70,29 @@ countConnect.prefix='' ...@@ -84,46 +70,29 @@ countConnect.prefix=''
[interaction : common] [interaction : common]
[prod-interaction : interaction : common] [prod-interaction : interaction : common]
cacheConnect.mode='codis' redisConnect.mode='redis'
cacheConnect.topom='bj2-e05-126-165-6-lg.yidian.com:18139/topom' redisConnect.address.master='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='' redisConnect.address.slave='bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.password='' redisConnect.fallback='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.select=0 redisConnect.password=''
cacheConnect.timeout=1 redisConnect.select=0
cacheConnect.serializer='none' redisConnect.timeout=1
cacheConnect.prefix='' redisConnect.serializer='none|php|igbinary|msgpack'
redisConnect.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=''
[perf-interaction : prod-interaction : interaction : common] [perf-interaction : prod-interaction : interaction : common]
[test-interaction : interaction : common] [test-interaction : interaction : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary) ;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode='codis' redisConnect.mode='redis'
cacheConnect.topom='bj2-e05-126-165-6-lg.yidian.com:18131/topom' redisConnect.address.master='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='' redisConnect.address.slave='bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.password='' redisConnect.fallback='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.select=0 redisConnect.password=''
cacheConnect.timeout=1 redisConnect.select=0
cacheConnect.serializer='none' redisConnect.timeout=1
cacheConnect.prefix='' redisConnect.serializer='none|php|igbinary|msgpack'
redisConnect.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=''
[dev-interaction : test-interaction : interaction : common] [dev-interaction : test-interaction : interaction : common]
...@@ -132,80 +101,85 @@ countConnect.prefix='' ...@@ -132,80 +101,85 @@ countConnect.prefix=''
[goods : common] [goods : common]
[prod-goods : goods : common] [prod-goods : goods : common]
cacheConnect.mode='codis' redisConnect.mode='redis'
cacheConnect.topom='bj2-e05-126-165-6-lg.yidian.com:18136/topom' redisConnect.address.master='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='' redisConnect.address.slave='bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.password='' redisConnect.fallback='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.select=0 redisConnect.password=''
cacheConnect.timeout=1 redisConnect.select=0
cacheConnect.serializer='igbinary' redisConnect.timeout=1
cacheConnect.prefix='' redisConnect.serializer='none|php|igbinary|msgpack'
redisConnect.prefix=''
[perf-goods : prod-goods : goods : common] [perf-goods : prod-goods : goods : common]
[test-goods : goods : common] [test-goods : goods : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary) ;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode='codis' redisConnect.mode='redis'
cacheConnect.topom='bj2-e05-126-165-6-lg.yidian.com:18131/topom' redisConnect.address.master='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='' redisConnect.address.slave='bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.password='' redisConnect.fallback='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.select=0 redisConnect.password=''
cacheConnect.timeout=1 redisConnect.select=0
cacheConnect.serializer='igbinary' redisConnect.timeout=1
cacheConnect.prefix='' redisConnect.serializer='none|php|igbinary|msgpack'
redisConnect.prefix=''
[dev-goods : test-goods : goods : common] [dev-goods : test-goods : goods : common]
[order : common] [order : common]
[prod-order : order : common] [prod-order : order : common]
cacheConnect.mode='codis' redisConnect.mode='redis'
cacheConnect.topom='bj2-e05-126-165-6-lg.yidian.com:18136/topom' redisConnect.address.master='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='' redisConnect.address.slave='bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.password='' redisConnect.fallback='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.select=0 redisConnect.password=''
cacheConnect.timeout=1 redisConnect.select=0
cacheConnect.serializer='igbinary' redisConnect.timeout=1
cacheConnect.prefix='' redisConnect.serializer='none|php|igbinary|msgpack'
redisConnect.prefix=''
[perf-order : prod-order : order : common] [perf-order : prod-order : order : common]
[test-order : order : common] [test-order : order : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary) ;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode='codis' redisConnect.mode='redis'
cacheConnect.topom='bj2-e05-126-165-6-lg.yidian.com:18131/topom' redisConnect.address.master='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='' redisConnect.address.slave='bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.password='' redisConnect.fallback='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.select=0 redisConnect.password=''
cacheConnect.timeout=1 redisConnect.select=0
cacheConnect.serializer='igbinary' redisConnect.timeout=1
cacheConnect.prefix='' redisConnect.serializer='none|php|igbinary|msgpack'
redisConnect.prefix=''
[dev-order : test-order : order : common] [dev-order : test-order : order : common]
[coupon : common] [coupon : common]
[prod-coupon : coupon : common] [prod-coupon : coupon : common]
cacheConnect.mode='codis' redisConnect.mode='redis'
cacheConnect.topom='bj2-e05-126-165-6-lg.yidian.com:18136/topom' redisConnect.address.master='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='' redisConnect.address.slave='bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.password='' redisConnect.fallback='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.select=0 redisConnect.password=''
cacheConnect.timeout=1 redisConnect.select=0
cacheConnect.serializer='igbinary' redisConnect.timeout=1
cacheConnect.prefix='' redisConnect.serializer='none|php|igbinary|msgpack'
redisConnect.prefix=''
[perf-order : prod-coupon : coupon : common] [perf-order : prod-coupon : coupon : common]
[test-order : coupon : common] [test-order : coupon : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary) ;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode='codis' redisConnect.mode='redis'
cacheConnect.topom='bj2-e05-126-165-6-lg.yidian.com:18131/topom' redisConnect.address.master='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='' redisConnect.address.slave='bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.password='' redisConnect.fallback='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.select=0 redisConnect.password=''
cacheConnect.timeout=1 redisConnect.select=0
cacheConnect.serializer='igbinary' redisConnect.timeout=1
cacheConnect.prefix='' redisConnect.serializer='none|php|igbinary|msgpack'
redisConnect.prefix=''
[dev-coupon : test-coupon : coupon : common] [dev-coupon : test-coupon : coupon : common]
...@@ -213,52 +187,55 @@ cacheConnect.prefix='' ...@@ -213,52 +187,55 @@ cacheConnect.prefix=''
[wallet : common] [wallet : common]
[prod-wallet : wallet : common] [prod-wallet : wallet : common]
cacheConnect.mode='codis' redisConnect.mode='redis'
cacheConnect.topom='bj2-e05-126-165-6-lg.yidian.com:18138/topom' redisConnect.address.master='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='' redisConnect.address.slave='bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.password='' redisConnect.fallback='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.select=0 redisConnect.password=''
cacheConnect.timeout=1 redisConnect.select=0
cacheConnect.serializer='igbinary' redisConnect.timeout=1
cacheConnect.prefix='' redisConnect.serializer='none|php|igbinary|msgpack'
redisConnect.prefix=''
[perf-wallet : prod-wallet : wallet : common] [perf-wallet : prod-wallet : wallet : common]
[test-wallet : wallet : common] [test-wallet : wallet : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary) ;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode='codis' redisConnect.mode='redis'
cacheConnect.topom='bj2-e05-126-165-6-lg.yidian.com:18131/topom' redisConnect.address.master='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='' redisConnect.address.slave='bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.password='' redisConnect.fallback='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.select=0 redisConnect.password=''
cacheConnect.timeout=1 redisConnect.select=0
cacheConnect.serializer='igbinary' redisConnect.timeout=1
cacheConnect.prefix='' redisConnect.serializer='none|php|igbinary|msgpack'
redisConnect.prefix=''
[dev-wallet : test-wallet : wallet : common] [dev-wallet : test-wallet : wallet : common]
;钱包redis ;钱包redis
[account : common] [account : common]
[prod-account : account : common] [prod-account : account : common]
cacheConnect.mode='codis' redisConnect.mode='redis'
cacheConnect.topom='bj2-e05-126-165-6-lg.yidian.com:18138/topom' redisConnect.address.master='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='' redisConnect.address.slave='bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.password='' redisConnect.fallback='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.select=0 redisConnect.password=''
cacheConnect.timeout=1 redisConnect.select=0
cacheConnect.serializer='igbinary' redisConnect.timeout=1
cacheConnect.prefix='' redisConnect.serializer='none|php|igbinary|msgpack'
redisConnect.prefix=''
[perf-account : prod-account : account : common] [perf-account : prod-account : account : common]
[test-account : account : common] [test-account : account : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary) ;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode='codis' redisConnect.mode='redis'
cacheConnect.topom='bj2-e05-126-165-6-lg.yidian.com:18131/topom' redisConnect.address.master='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='' redisConnect.address.slave='bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.password='' redisConnect.fallback='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.select=0 redisConnect.password=''
cacheConnect.timeout=1 redisConnect.select=0
cacheConnect.serializer='igbinary' redisConnect.timeout=1
cacheConnect.prefix='' redisConnect.serializer='none|php|igbinary|msgpack'
redisConnect.prefix=''
[dev-account : test-account : account : common] [dev-account : test-account : account : common]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment