Skip to content

Fix issue where a downed lightning node would take down the API server#40

Merged
danieldaquino merged 1 commit into
damus-io:masterfrom
danieldaquino:gh-5
May 20, 2026
Merged

Fix issue where a downed lightning node would take down the API server#40
danieldaquino merged 1 commit into
damus-io:masterfrom
danieldaquino:gh-5

Conversation

@danieldaquino
Copy link
Copy Markdown
Collaborator

Closes: #5

Tests

Added an automated test to cover this, and ensured it:

  • fails without the fix
  • passes with the fix

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 20, 2026

Warning

Rate limit exceeded

@danieldaquino has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 43 minutes and 34 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ 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 for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 74154b58-06c1-4447-83d5-5d27772c4f90

📥 Commits

Reviewing files that changed from the base of the PR and between 4bb1035 and f538fab.

📒 Files selected for processing (2)
  • src/invoicing.js
  • test/ln_flow.test.js
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@danieldaquino danieldaquino merged commit 86275b6 into damus-io:master May 20, 2026
2 checks passed
@danieldaquino
Copy link
Copy Markdown
Collaborator Author

CC @jb55

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.

Downed lightning node can take down our API

1 participant