Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IOPAE-1711] Api rate limit 250 for io novità e aggiornamenti service #1390

Merged
merged 3 commits into from
Jan 29, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
<inbound>
<base />
<choose>
<when condition="@(context.Subscription.Id.Equals("azure-deployc49a"))">
<!-- ApiRateLimit 250 for IO Novita e aggiornamenti service -->
<rate-limit-by-key calls="250" renewal-period="5" counter-key="@(context.Subscription.Id + "-" + context.User.Id)" retry-after-header-name="x-rate-limit-retry-after" remaining-calls-header-name="x-rate-limit-remaining" />
</when>
<when condition="@(context.User.Groups.Select(g => g.Name).Contains("ApiNoRateLimit"))">
<!-- ApiNoRateLimit for internal/special users -->
</when>
Expand Down