Closed fabrichter closed 4 weeks ago
[!WARNING]
Rate limit exceeded
@fabrichter has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 22 minutes and 18 seconds before requesting another review.
⌛ How to resolve this issue?
After the wait time has elapsed, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR. We recommend that you space out your commits to avoid hitting the rate limit.🚦 How do rate limits work?
CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our [FAQ](https://coderabbit.ai/docs/faq) for further information.📥 Commits
Files that changed from the base of the PR and between 8ab8678624f8e0d11ea3d9f2aef504050f2de02e and 14a51629f7c3f74e23261dfab491fb1f647508a5.
The pull request introduces modifications to the TextChecker
class in the languagetool-server
module. Four static final lists, onlyTestUsers
, onlyTestRules
, onlyTestLanguages
, and onlyTestClients
, are added to store values from environment variables. These lists are populated during static initialization. The checkText
method is updated to set a flag and modify the enabledRules
list based on user conditions and A/B testing. Additionally, adjustments are made to error handling and logging related to user limits and request processing.
File | Change Summary |
---|---|
languagetool-server/src/main/java/org/languagetool/server/TextChecker.java |
Added static final lists onlyTestUsers , onlyTestRules , onlyTestLanguages , and onlyTestClients ; added method shouldApplyTestRules ; updated checkText method for user-specific rule management; adjusted error handling and logging. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit