Skip to content

Commit

Permalink
disable backet4j
Browse files Browse the repository at this point in the history
Signed-off-by: Valeriy Svydenko <[email protected]>
  • Loading branch information
svor committed Jan 20, 2025
1 parent c46aba6 commit 1432656
Showing 1 changed file with 1 addition and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,41 +72,7 @@ org:
allow-anonymous-data-usage: false

bucket4j:
enabled: true
filters:
- cache-name: buckets
url: '/api/-/(namespace/create|publish)'
http-response-headers:
Access-Control-Allow-Origin: '*'
Access-Control-Expose-Headers: X-Rate-Limit-Retry-After-Seconds, X-Rate-Limit-Remaining
rate-limits:
- cache-key: getParameter("token")
bandwidths:
- capacity: 15
time: 1
unit: seconds
- cache-name: buckets
url: '/vscode/asset/.*/.*/.*/Microsoft.VisualStudio.Services.Icons.Default'
http-response-headers:
Access-Control-Allow-Origin: '*'
Access-Control-Expose-Headers: X-Rate-Limit-Retry-After-Seconds, X-Rate-Limit-Remaining
rate-limits:
- cache-key: getRemoteAddr()
bandwidths:
- capacity: 75
time: 1
unit: seconds
- cache-name: buckets
url: '/vscode/(?!asset/.*/.*/.*/Microsoft.VisualStudio.Services.Icons.Default).*|/api/(?!(.*/.*/review(/delete)?)|(-/(namespace/create|publish))).*'
http-response-headers:
Access-Control-Allow-Origin: '*'
Access-Control-Expose-Headers: X-Rate-Limit-Retry-After-Seconds, X-Rate-Limit-Remaining
rate-limits:
- cache-key: getRemoteAddr()
bandwidths:
- capacity: 15
time: 1
unit: seconds
enabled: false

ovsx:
elasticsearch:
Expand Down

0 comments on commit 1432656

Please sign in to comment.