Skip to content

Commit

Permalink
chore: add rate limit to the sync to billing (#24539)
Browse files Browse the repository at this point in the history
  • Loading branch information
zlwaterfield authored Aug 22, 2024
1 parent 21ff961 commit a7da933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/tasks/sync_to_billing.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from sentry_sdk import capture_message


@shared_task(ignore_result=True)
@shared_task(ignore_result=True, rate_limit="4/s")
def sync_to_billing(organization_id: str) -> None:
organization = Organization.objects.get(id=organization_id)

Expand Down

0 comments on commit a7da933

Please sign in to comment.