:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(rate-limit): raise org invite daily cap to 200 (#74302)
Rafael Audibert383a48d7c8f2
diff --git a/posthog/api/test/test_organization_invites.py b/posthog/api/test/test_organization_invites.pyindex 826588114a24..30cf68122d24 100644--- a/posthog/api/test/test_organization_invites.py+++ b/posthog/api/test/test_organization_invites.py@@ -1843,7 +1843,7 @@ class TestOnboardingDelegationMigrationIndex(APIBaseTest):@patch("posthog.rate_limit.is_rate_limit_enabled", return_value=True)class TestOrganizationInviteRateLimits(APIBaseTest):# These tests exercise OrganizationInviteBurstThrottle (50/hour) and- # OrganizationInviteSustainedThrottle (100/day) against the live viewset.+ # OrganizationInviteSustainedThrottle (200/day) against the live viewset.# Both throttles are keyed per-organization and count invites (not# requests), so a 20-item bulk POST consumes 20 slots.diff --git a/posthog/rate_limit.py b/posthog/rate_limit.pyindex eb18281022e8..83ddfa30b935 100644--- a/posthog/rate_limit.py+++ b/posthog/rate_limit.py@@ -1209,7 +1209,7 @@ class OrganizationInviteBurstThrottle(_OrganizationInviteRateThrottleBase):class OrganizationInviteSustainedThrottle(_OrganizationInviteRateThrottleBase):scope = "organization_invite_sustained"- rate = "100/day"+ rate = "200/day"class GitHubRepositoryRefreshThrottle(PersonalApiKeyOrUserRateThrottle):