-
Notifications
You must be signed in to change notification settings - Fork 3
feat: add docs for cloud and self hosted rate limiting #196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: rohan <rohan.chaturvedi@protonmail.com>
There was a problem hiding this 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_DEFAULTenvironment 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>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…d worker containers
|
You have run out of free Bugbot PR reviews for this billing cycle. This will reset on January 13. To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial. |
…documentation for backend and worker containers
Adds docs for Cloud and Self hosted rate limiting
Note
Adds Cloud API rate limit docs and 429 example, notes self-hosted configurability, and documents
RATE_LIMIT_DEFAULTandREDIS_SSLenv vars (plus clarifiesREDIS_PASSWORDrequirement).src/pages/public-api/index.mdx):429 Too Many Requestsresponse.RATE_LIMIT_DEFAULT.src/pages/self-hosting/configuration/envars.mdx):REDIS_SSLboolean env var description.REDIS_PASSWORDis required forbackendandworker.RATE_LIMIT_DEFAULTenv var under Additional Environment Variables for configuring API rate limits.Written by Cursor Bugbot for commit 5ffaa5a. This will update automatically on new commits. Configure here.