Skip to content
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

Do DB insertions in parallel #71

Merged
merged 1 commit into from
Feb 6, 2024
Merged

Conversation

TheBlueMatt
Copy link
Contributor

When inserting new gossip into the DB, we block the LDK peer handling if we get behind. This is mostly okay, but can cause ping timeouts and reconnections, which isn't ideal. To limit how often we should see this, here we move to doing the new gossip insertions in parallel.

When inserting new gossip into the DB, we block the LDK peer
handling if we get behind. This is mostly okay, but can cause ping
timeouts and reconnections, which isn't ideal. To limit how often
we should see this, here we move to doing the new gossip insertions
in parallel.
@arik-so arik-so merged commit eaebdf7 into lightningdevkit:main Feb 6, 2024
4 checks passed
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.

2 participants