config.properties
1.58 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}
#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}