Skip to content

Commit

Permalink
perf(project_owners): Lower max length of project owner rules to 100k…
Browse files Browse the repository at this point in the history
… characters. (#29746)

300k still seems a little high here, putting a stricter limit on this.
  • Loading branch information
wedamija authored Nov 3, 2021
1 parent de50b16 commit 9ca1ef0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sentry/api/endpoints/project_ownership.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from sentry.ownership.grammar import CODEOWNERS, create_schema_from_issue_owners
from sentry.signals import ownership_rule_created

MAX_RAW_LENGTH = 300000
MAX_RAW_LENGTH = 100000


class ProjectOwnershipSerializer(serializers.Serializer):
Expand Down

0 comments on commit 9ca1ef0

Please sign in to comment.