File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -144,7 +144,8 @@ def __call__(self, request):
144144
145145
146146class ThrottleHeadersMiddleware (MiddlewareMixin ):
147- match_throttled_paths = ['recommend-beta' , '$match' ]
147+ match_throttled_paths = ['$match' , '/concepts/$match/' ]
148+
148149 def is_match_throttled_path (self , path ):
149150 for match_path in self .match_throttled_paths :
150151 if match_path in path :
Original file line number Diff line number Diff line change 194194 'guest_day' : '10000/day' ,
195195 'standard_minute' : '500/minute' ,
196196 'standard_day' : '20000/day' ,
197- 'match_standard_minute' : '120 /minute' ,
198- 'match_standard_day' : '2000 /day' ,
197+ 'match_standard_minute' : '300 /minute' ,
198+ 'match_standard_day' : '5000 /day' ,
199199 }
200200 MIDDLEWARE = [* MIDDLEWARE , 'core.middlewares.middlewares.ThrottleHeadersMiddleware' ]
201201
You can’t perform that action at this time.
0 commit comments