Authored by hua.qu

修改限流

@@ -7,14 +7,14 @@ default_rate_limit: 200 @@ -7,14 +7,14 @@ default_rate_limit: 200
7 # frist variable: rate in two seconds ,second variable: error code, third variable:error message 7 # frist variable: rate in two seconds ,second variable: error code, third variable:error message
8 api_rate_limit: 8 api_rate_limit:
9 9
10 - - app.Shopping.submit: "90,9999992,人太多啦,稍后再试!"  
11 - - app.Buynow.submit: "100,9999992,人太多啦,稍后再试!"  
12 - - app.shopping.depositSubmit: "100,9999992,人太多啦,稍后再试!"  
13 - - app.Shopping.deposit.submit: "100,9999992,人太多啦,稍后再试!"  
14 - - app.Seckill.submit: "100,9999992,人太多啦,稍后再试!"  
15 - - app.GroupBuy.submit: "100,9999992,人太多啦,稍后再试!"  
16 - - app.GroupBuy.payment: "100,9999992,人太多啦,稍后再试!"  
17 - - app.Shopping.easySubmit: "100,9999992,人太多啦,稍后再试!" 10 + - app.Shopping.submit: "50,9999992,人太多啦,稍后再试!"
  11 + - app.Buynow.submit: "50,9999992,人太多啦,稍后再试!"
  12 + - app.shopping.depositSubmit: "50,9999992,人太多啦,稍后再试!"
  13 + - app.Shopping.deposit.submit: "50,9999992,人太多啦,稍后再试!"
  14 + - app.Seckill.submit: "50,9999992,人太多啦,稍后再试!"
  15 + - app.GroupBuy.submit: "50,9999992,人太多啦,稍后再试!"
  16 + - app.GroupBuy.payment: "50,9999992,人太多啦,稍后再试!"
  17 + - app.Shopping.easySubmit: "50,9999992,人太多啦,稍后再试!"
18 18
19 - app.Shopping.queryPromotionGifts: "150" 19 - app.Shopping.queryPromotionGifts: "150"
20 - app.Shopping.selectedAndQryCart: "210,9999992,人太多啦,稍后再试!" 20 - app.Shopping.selectedAndQryCart: "210,9999992,人太多啦,稍后再试!"
@@ -24,4 +24,13 @@ white_ips: @@ -24,4 +24,13 @@ white_ips:
24 24
25 25
26 # requests for degraded methods will get http 200 response from nginx directly without passing the request to backend servers. 26 # requests for degraded methods will get http 200 response from nginx directly without passing the request to backend servers.
27 -degrade_methods:  
  27 +degrade_methods:
  28 + - "app.invitecode.my"
  29 + - "app.favorite.getFavoriteCount"
  30 + - "app.favorite.isFavoriteNew"
  31 + - "app.grass.getUnreadArticleTotal"
  32 + - "app.grass.getGrassPubAndFavorNum"
  33 + - "app.grass.getTotalInboxUnread"
  34 + - "ufo.order.summary"
  35 + - "ufo.seller.orderSummary"
  36 + - "ufo.buyer.orderListNums"