Commit c1f7c91a authored by cuiweifeng's avatar cuiweifeng

update:add codis

parent 32304fa5
......@@ -22,3 +22,6 @@ merchant.uriOptions.w=1
merchant.uriOptions.wTimeoutMS=3000
merchant.driverOptions.typeMap.root='array'
merchant.driverOptions.typeMap.document='array'
[dev-merchant : test-merchant : prod-merchant : merchant : common]
\ No newline at end of file
[common]
[gateway : common]
[prod-gateway : gateway : common]
[perf-gateway : gateway : common]
[test-gateway : gateway : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode='codis'
cacheConnect.topom='http://10.126.165.6:18080/topom'
cacheConnect.fallback=''
cacheConnect.password=''
cacheConnect.select=0
cacheConnect.timeout=1
cacheConnect.serializer='none'
cacheConnect.prefix=''
[dev-gateway : test-gateway : gateway : common]
;商户项目配置
;商户项目继承common + 自己的配置,此节中配置会覆盖父级的相同配置(不区分环境)
[merchant : common]
;商户项目继承common + 自己的配置 + 生产环境特有有配置,此节中配置会覆盖父级的相同配置
[prod-merchant : merchant : common]
;商户项目继承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='http://10.126.165.6:18080/topom'
cacheConnect.fallback=''
cacheConnect.password=''
cacheConnect.select=0
cacheConnect.timeout=1
cacheConnect.serializer='none'
cacheConnect.prefix=''
[dev-merchant : test-merchant : prod-merchant : merchant : common]
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