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
chore(api): meter rate limit on team #12006
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
benjackwhite
approved these changes
Oct 13, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all looks pretty good to me 👍 Took me a little to get my head around it but whats here looks legit.
refactoring opportunity? |
alexkim205
approved these changes
Oct 13, 2022
macobo
added a commit
that referenced
this pull request
Oct 18, 2022
fuziontech
added a commit
that referenced
this pull request
Oct 19, 2022
* master: (121 commits) fix(app-metrics): fix navigation issue (#12319) fix: update insight api docs about refreshing flag (2) (#12322) feat: highlight in legend for pie charts (#12249) feat: Added person properties expander to Meta area (#12294) chore(tests): add pytest-randomly plugin to randomize test run order (#12307) chore(deps): Update posthog-js to 1.33.0 (#12321) feat(apps): frontend urls (#12094) feat(plugin-server): use graphile-worker crontab (#12242) fix(experiments): Handle start and end dates appropriately (#12258) feat(apps): remove frontend apps feature flag (#12257) feat: Added app context to double check things (#12317) fix: Revert "chore(api): meter rate limit on team" (#12316) fix(app-metrics): Fix navigation issue (#12315) fix: Improvements to Organization model setup (#12309) fix: dashboards last refresh not updating until page refresh (#12271) test(plugin-server): fix exports test flakiness (#12313) chore(contributors): 🤖 - Add rcmarron as a contributor 🎉 (#12310) chore(api): meter rate limit on team (#12006) feat(app-metrics): Show exports progress (#12285) fix: custom dashboard uses insight dates (#12305) ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
Take 2 on this PR. The problem is that our rate limits should be based on
team_id
instead of an API key, and the last PR didn't handle views that didn't have ateam_id
.Changes
team_id
when possibleand
👉 Stay up-to-date with PostHog coding conventions for a smoother review.
How did you test this code?
Added tests for the new cases:
team_id