Skip to content

Conversation

@rohan-chaturvedi
Copy link
Member

Adds docs for Cloud and Self hosted rate limiting

Signed-off-by: rohan <rohan.chaturvedi@protonmail.com>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds comprehensive documentation for rate limiting in both Phase Cloud and self-hosted deployments. The documentation clarifies the different rate limits for various subscription tiers and provides configuration guidance for administrators.

  • Adds a new RATE_LIMIT_DEFAULT environment variable to the self-hosting configuration documentation
  • Introduces a dedicated "Rate Limits" section to the public API documentation with tier-based limits
  • Provides example HTTP 429 response with headers to help developers handle rate limit errors

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/pages/self-hosting/configuration/envars.mdx Adds documentation for the RATE_LIMIT_DEFAULT environment variable with format examples and usage instructions
src/pages/public-api/index.mdx Adds comprehensive rate limiting section with subscription tier limits, HTTP 429 response example, and cross-reference to self-hosting configuration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 5, 2025

Deploying phase-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 99556ce
Status: ✅  Deploy successful!
Preview URL: https://63abbf5d.phase-docs.pages.dev
Branch Preview URL: https://rate-limits.phase-docs.pages.dev

View logs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants