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

Limit number of environments #3875

Open
zachaysan opened this issue May 2, 2024 · 0 comments
Open

Limit number of environments #3875

zachaysan opened this issue May 2, 2024 · 0 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@zachaysan
Copy link
Contributor

Since there are some query patterns that are inherently N+1 given the way our permission system works, we should soft limit the number of environments users can create to partially mitigate this impact.

This morning @matthewelwell ran some queries in production and it turns out we have active users that have huge numbers of environments (in the thousands). So whatever limit we put into place will have to grandfather in the existing clients since they're already operating above them.

The suggested limit is to put it at 100 and perhaps we should build in the ability to grant more limits for users that really want them.

@zachaysan zachaysan self-assigned this May 2, 2024
@zachaysan zachaysan added the good first issue Good for newcomers label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant