fix(input): prevent recursive throttling loop in InputHandler#346
fix(input): prevent recursive throttling loop in InputHandler#346Akash504-ai wants to merge 1 commit into
Conversation
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the 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 for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 0/1 reviews remaining, refill in 38 minutes and 43 seconds.Comment |
Addressed Issues:
Fixes # (InputHandler throttling recursion issue)
Description
This PR fixes a recursion issue in the InputHandler throttling logic.
Previously, throttled "move" and "scroll" events were reprocessed using the same handleMessage method without distinguishing internal calls. This caused repeated re-throttling, leading to potential recursive loops, delayed execution, and degraded responsiveness under high-frequency input.
Fix implemented:
internalflag in handleMessageImpact:
Screenshots/Recordings:
N/A (internal logic fix)
Functional Verification
Screen Mirror
Authentication
Basic Gestures
Modes & Settings
Advanced Input
Any other gesture or input behavior introduced:
Additional Notes:
Changes are limited to InputHandler logic
No API or external behavior changes
Backward compatible with existing system
Checklist