Flagsmith / Flagsmith/flagsmith

Limit number of environments

Open
#3,875 2 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
Python
Stars
6.6k
Forks
567
Avg merge
1d 13h
Merged PRs (30d)
121

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.