Skip to content
Snippets Groups Projects
Commit 534071bf authored by Bojan Marjanovic's avatar Bojan Marjanovic :five:
Browse files

Merge branch 'nd/fix-ai-rate-limit' into 'master'

Adjust AI mutation rate limits

See merge request !118202



Merged-by: default avatarBojan Marjanovic <bmarjanovic@gitlab.com>
Approved-by: Gosia Ksionek's avatarGosia Ksionek <mksionek@gitlab.com>
Approved-by: default avatarBojan Marjanovic <bmarjanovic@gitlab.com>
Reviewed-by: default avatarBojan Marjanovic <bmarjanovic@gitlab.com>
Co-authored-by: Nicolas Dular's avatarNicolas Dular <ndular@gitlab.com>
parents f32af1c7 f8d0f6ac
No related branches found
No related tags found
3 merge requests!122597doc/gitaly: Remove references to removed metrics,!118700Remove refactor_vulnerability_filters feature flag,!118202Adjust AI mutation rate limits
Pipeline #843580668 passed
......@@ -154,7 +154,7 @@ The **rate limit** is 600 calls per minute per authenticated user.
There is a rate limit for the GraphQL `aiAction` mutation, which is enforced to prevent from abusing this endpoint.
The **rate limit** is 20 calls per hour per authenticated user.
The **rate limit** is 160 calls per 8 hours per authenticated user.
## Troubleshooting
......
......@@ -56,7 +56,7 @@ def rate_limits # rubocop:disable Metrics/AbcSize
namespace_exists: { threshold: 20, interval: 1.minute },
fetch_google_ip_list: { threshold: 10, interval: 1.minute },
project_fork_sync: { threshold: 10, interval: 30.minutes },
ai_action: { threshold: 20, interval: 1.hour },
ai_action: { threshold: 160, interval: 8.hours },
jobs_index: { threshold: 600, interval: 1.minute },
bulk_import: { threshold: 6, interval: 1.minute },
projects_api_rate_limit_unauthenticated: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment