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

Increase PING_TIMER to 20 seconds #9

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

luckysori
Copy link
Collaborator

This value was chosen sort of arbitrarily according to 2d3a210.

By doubling this timeout we hope to keep the connection alive when performing the very heavy and chatty DLC-related protocols.


What do you think, @Tibo-lg? We've been running into a lot of problems because of this ping timeout and it's made me wonder if this number is not high enough for the kinds of protocols that we run with the split channel.

This value was chosen sort of arbitrarily acccording to
2d3a210.

By doubling this timeout we hope to keep the connection alive when
performing the very heavy and chatty DLC-related protocols.
@luckysori luckysori requested a review from Tibo-lg August 30, 2023 10:37
@luckysori luckysori self-assigned this Aug 30, 2023
Copy link

@Tibo-lg Tibo-lg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I never encountered issues related to that but if that fixes your issues SGTM.

@luckysori
Copy link
Collaborator Author

I never encountered issues related to that but if that fixes your issues SGTM.

It's not something that occurs in tests, but we've definitely seen connection drops during subchannel setup and closure in production.

Tbh, I would like to revert this at some point, but we are keen to test it out for now.

I'll go ahead with the merge since you gave approval, but it's also okay to keep this setting just for 10101 if it bothers you in the future!

@luckysori luckysori merged commit 25da091 into split-tx-experiment Aug 31, 2023
6 of 42 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