config.properties 2.88 KB
# ******************** hystrix**********************
#his property sets the time in milliseconds after which the caller will observe a timeout and walk away from the command execution.
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=6000
hystrix.command.default.circuitBreaker.requestVolumeThreshold=100
#This property sets the error percentage at or above which the circuit should trip open and start short-circuiting requests to fallback logic.
hystrix.command.default.circuitBreaker.errorThresholdPercentage=75

hystrix.threadpool.default.coreSize=30
hystrix.threadpool.default.maxQueueSize=50000
# an artificial maximum queue size at which rejections will occur even if maxQueueSize has not been reached
hystrix.threadpool.default.queueSizeRejectionThreshold=45000

#******************\u662f\u5426\u5f00\u542fDEBUG\u6a21\u5f0f***********************
is_debug_enable=true

# ********************  redis servers  ********************

redis.readonly.proxy.address=192.168.102.12
redis.readonly.proxy.port=6379
redis.readonly.proxy.auth=

redis.proxy.address=192.168.102.12
redis.proxy.port=6379
redis.proxy.auth=

execute.timetask.host=192.168.90.9

#zkAddress
zkAddress=192.168.102.45:2181
# web context
web.context=activity

# ********************  drawline lucky draw task interval(TimeUnit.MINUTES)  ********************
drawline.luckydraw.interval=1440

# ********************  drawline lucky user notice task interval(TimeUnit.MINUTES)  ********************
drawline.luckyUserNotice.interval=120



#******************* Redis **************************#
#total switch
redis.total.key.switch=true

#drawlinelist switch
activity.drawlinelist.redisSwitch=true

#drawlinelist expire time(second)
activity.drawlinelist.redisExpire=10

#gateway.url=http://192.168.102.205:8080/gateway
gateway.url=http://api-test3.yohops.com:9999/

#\u8c03\u7528\u8fd0\u7ef4\u53d1\u9001\u77ed\u4fe1\u63a5\u53e3\u65f6\u7684\uff0c\u9700\u8981\u4f20\u5165\u7684\u5bc6\u7801\uff08AES\u52a0\u5bc6\uff09
sendSMS.password=7jVEde87bLffoTnt6tGxmw==
#\u53ef\u53e3\u53ef\u4e50\u6d3b\u52a8\uff0c\u5fae\u4fe1\u5206\u4eab\u5730\u5740
#cocacola.wechat.share.url=http://testservice.yoho.cn/activity/cocacola/html/index1.html
cocacola.wechat.share.url=http://testservice.yoho.cn/activity/cocacola/html/index1.html

orderShare.maxNum=3
orderShare.recevied.maxNum=5
orderShare.shareUrl=http://m.yohobuy.com/coupon/index

tencentmkt.shareUrl=http://service.yoho.cn/activity/tencentMkt/index.html

userday.coupon.oct={}

userday.coupon={"10":"14144","40":"14146","70":"14148"}
userday.coupon.10={"10":"14356","40":"14358","70":"14360"}
userday.open.day=28
userday.drawPrizeNum.redisSwitch=true

#\u7ebf\u4e0acrm\u57df\u540d
yoho.crm.online.dns=http://api.crm.yohoops.org:8093/crm/

#\u6d4b\u8bd53 crm ip\u5730\u5740
#yoho.crm.online.dns=http://192.168.102.48:8093/crm/

#single center service domain
yoho.single.center.domain= http://127.0.0.1:8080/gateway