Conversation
|
Warning Rate limit exceeded
⌛ 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: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThe maximum routing fee tolerance for Lightning payments was increased from 0.001 (0.1%) to 0.002 (0.2%) across configuration templates, default settings, tests, and documentation to accommodate higher fee calculations for small payment amounts. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@docs/LIGHTNING_OPS.md`:
- Line 151: The documentation line showing "Ordering::Less | Ordering::Equal =>
amount as f64 * 0.02, // 2%" is out of sync with the runtime send_payment()
logic; update this docs section to reflect the actual fee calculation used by
send_payment() in src/lightning/mod.rs (1% of amount with a minimum of 10 sats)
or, if you prefer to change runtime, adjust the send_payment() fee calculation
to 2% to match the docs—specifically reference the fee branch in send_payment()
and the Ordering::Less | Ordering::Equal case so the comment and prose match the
implemented formula and minimum.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 8f8aedfb-d756-485c-9b82-45180abab663
📒 Files selected for processing (6)
README.mddocs/LIGHTNING_OPS.mddocs/STARTUP_AND_CONFIG.mdsettings.tpl.tomlsrc/config/mod.rssrc/config/types.rs
Summary by CodeRabbit