Skip to main content

Resource Limits

Availability

Version: 6.2+

When you're close to reaching the limit for a resource, you'll see a warning in the Unleash UI. The warning will tell you what the limit is, how close you are to reaching it, and how you can increase the limit.

To ensure that Unleash operates smoothly, it includes resource limits for some of the key resources that you can create. The limit for each resource can vary between the different Unleash plans.

The resources and their respective limits and environment variables are:

ResourceOSS limitPro limitEnterprise limitEnvironment variable
Feature flags15,0005,00050,000UNLEASH_FEATURE_FLAGS_LIMIT
Strategies per flag per environment303030UNLEASH_FEATURE_ENVIRONMENT_STRATEGIES_LIMIT
Constraints per strategy303030UNLEASH_CONSTRAINTS_LIMIT
Values per constraint2502501,000UNLEASH_CONSTRAINT_VALUES_LIMIT
Segments300300300UNLEASH_SEGMENTS_LIMIT
API tokens2,0002,0002,000UNLEASH_API_TOKENS_LIMIT
Projects13500UNLEASH_PROJECTS_LIMIT
Environments2250UNLEASH_ENVIRONMENTS_LIMIT
Signal endpointsN/AN/A5UNLEASH_SIGNAL_ENDPOINTS_LIMIT
Signal tokens per endpointN/AN/A5UNLEASH_SIGNAL_TOKENS_PER_ENDPOINT_LIMIT
Action set actionsN/AN/A10UNLEASH_ACTION_SET_ACTIONS_LIMIT
Action sets per projectN/AN/A5UNLEASH_ACTION_SETS_PER_PROJECT_LIMIT
Action set filtersN/AN/A5UNLEASH_ACTION_SET_FILTERS_LIMIT
Action set filter valuesN/AN/A25UNLEASH_ACTION_SET_FILTER_VALUES_LIMIT

Overriding the limits

Existing customers above the limits

Existing hosted customers who are already above the limits will have their limits adjusted to 110% of their maximum values when the limits were introduced.

With a few exceptions, all the limits can be overridden through the use of their respective environment variables. However, while it is possible to override these limits, we advise against it in most cases. If you feel that you're unable to do what you need to do because of the limits, we'd love to hear from you.

The following resources have a lower limit of 1:

  • feature flags
  • strategies
  • constraint values
  • projects
  • environments

If you try to set their limits lower than that, Unleash will automatically adjust them to 1.

If you operate a self-hosted Unleash instance, you can adjust the limit yourself. For hosted users of Unleash, you'll need to reach out and talk to your Unleash contact.

The only limits that can't be changed, are

  • the limits for projects and environments for OSS instances
  • the limits for projects and environments for Pro instances

Footnotes

  1. Archived feature flags do not count towards your feature flag total. The limit only applies to active (i.e. not archived) feature flags.