config.properties
2.48 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
71
72
73
74
75
76
77
# ******************** 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