File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 17
17
# List of all available hooks that can be enabled
18
18
PROXY_HOOKS = {
19
19
"max_budget_limiter" : _PROXY_MaxBudgetLimiter ,
20
- "parallel_request_limiter" : _PROXY_MaxParallelRequestsHandler_v3 ,
20
+ "parallel_request_limiter" : _PROXY_MaxParallelRequestsHandler ,
21
21
"cache_control_check" : _PROXY_CacheControlCheck ,
22
22
}
23
23
24
24
## FEATURE FLAG HOOKS ##
25
- if os .getenv ("LEGACY_MULTI_INSTANCE_RATE_LIMITING " , "false" ).lower () == "true" :
26
- PROXY_HOOKS ["parallel_request_limiter" ] = _PROXY_MaxParallelRequestsHandler
25
+ if os .getenv ("EXPERIMENTAL_MULTI_INSTANCE_RATE_LIMITING " , "false" ).lower () == "true" :
26
+ PROXY_HOOKS ["parallel_request_limiter" ] = _PROXY_MaxParallelRequestsHandler_v3
27
27
28
28
29
29
### update PROXY_HOOKS with ENTERPRISE_PROXY_HOOKS ###
You can’t perform that action at this time.
0 commit comments