Skip to content

Allow disabling rate limiting per user#616

Open
timokoessler wants to merge 3 commits intomainfrom
disable-rate-limiting-per-user
Open

Allow disabling rate limiting per user#616
timokoessler wants to merge 3 commits intomainfrom
disable-rate-limiting-per-user

Conversation

@timokoessler
Copy link
Copy Markdown
Member

@timokoessler timokoessler commented Apr 10, 2026

Summary by Aikido

Security Issues: 0 🔍 Quality Issues: 2 Resolved Issues: 0

⚡ Enhancements

  • Allowed disabling rate limiting for specific users via exclusion list
  • Added excluded_uids_from_rate_limiting field to ServiceConfig constructor and update
  • Initialized excluded user set in ThreadCache reset for defaults
  • Propagated excludedUserIdsFromRateLimiting list from server into ServiceConfig during update

More info

}


def test_excluded_user_still_blocked_by_group_rate_limit():
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this what we want? I would have expected that a user that has been excluded would never be rate limited, even if they're assigned to a group.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed as discussed in 802f1ea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants