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

is_debug_enable=${is_debug_enable}

# ******************** redis configuration**********************
redis.proxy.address=${redis.union.proxy.address}
redis.proxy.port=${redis.union.proxy.port}
redis.proxy.auth=${redis.union.proxy.auth}

redis.readonly.proxy.address=${redis.union.readonly.proxy.address}
redis.readonly.proxy.port=${redis.union.readonly.proxy.port}
redis.readonly.proxy.auth=${redis.union.readonly.proxy.auth}

execute.timetask.host=${execute.timetask.host}

#zkAddress
zkAddress=${zkAddress}
# web context
web.context=activity

# ********************  drawline lucky draw task interval(TimeUnit.MINUTES)  ********************
drawline.luckydraw.interval=${drawline.luckydraw.interval}

# ********************  drawline user notice task interval(TimeUnit.MINUTES)  ********************
drawline.luckyUserNotice.interval=${drawline.luckyUserNotice.interval}



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

#drawlinelist switch
activity.drawlinelist.redisSwitch=true

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

gateway.url=${gateway.url}

#\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=${sendSMS.password}

#\u53EF\u53E3\u53EF\u4E50\u6D3B\u52A8\uFF0C\u5FAE\u4FE1\u5206\u4EAB\u5730\u5740
cocacola.wechat.share.url=${cocacola.wechat.share.url}