Skip to content

Conversation

@untitaker
Copy link
Member

Also fix a bug where missing categories ("123::project") would not
enforce a rate limit for all categories, as they were parsed as category
"" instead of category None.

Also fix a bug where missing categories ("123::project") would not
enforce a rate limit for all categories, as they were parsed as category
"" instead of category None.
@untitaker untitaker requested review from jan-auer and mitsuhiko March 20, 2020 17:38
Copy link
Member

@jan-auer jan-auer left a comment

Choose a reason for hiding this comment

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

Looks good. Would you mind to also add a test for rate limits without categories (e.g. 4711::organization)?

@untitaker
Copy link
Member Author

@jan-auer
Copy link
Member

@untitaker Sorry for the ambiguity. I meant enforcement, not parsing.

Copy link
Member

@jan-auer jan-auer left a comment

Choose a reason for hiding this comment

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

LGTM but doesn't LGT the linter :)

@untitaker untitaker merged commit b7679a5 into master Mar 23, 2020
@untitaker untitaker deleted the fix/test-transport branch March 23, 2020 16:24
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.

3 participants