config.properties 2.48 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

#******************是否开启DEBUG模式***********************
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.205: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/

#调用运维发送短信接口时的,需要传入的密码(AES加密)
sendSMS.password=7jVEde87bLffoTnt6tGxmw==
#可口可乐活动,微信分享地址
#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





rabbit_host=192.168.102.162:32810
rabbit_user=yoho
rabbit_password=yoho


userday.coupon={"20":"14146", "10":"14144"}
userday.open.day=28
userday.drawPrizeNum.redisSwitch=true