config.properties
2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# ******************** 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}
orderShare.maxNum=${orderShare.maxNum}
orderShare.recevied.maxNum=${orderShare.recevied.maxNum}
orderShare.shareUrl=${orderShare.shareUrl}
tencentmkt.shareUrl=${tencentmkt.shareUrl}
rabbit_host=${rabbit_host}
rabbit_user=${rabbit_user}
rabbit_password =${rabbit_password}
userday.coupon=${userday.coupon}
userday.open.day=${userday.open.day}
userday.drawPrizeNum.redisSwitch=true