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

poll: remove error handling for message send #317

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

YusukeShimizu
Copy link
Contributor

Removes error handling for sending poll and request poll messages.
The freshness of the connection with the peer can be inferred from last seen of ListPeerswapPeers, so handling errors for each failed custom message attempt is unnecessary.

Removes error handling for sending poll and request poll messages.
The freshness of the connection with
the peer can be inferred from last seen
of ListPeerswapPeers, so handling errors
for each failed custom message
attempt is unnecessary.
@YusukeShimizu YusukeShimizu marked this pull request as ready for review September 22, 2024 00:52
@grubles
Copy link
Collaborator

grubles commented Oct 2, 2024

I've been running this on a mainnet node and usually I'd see 3-4 of the poll_service: could not send msg errors per day but running this PR I now see zero.

Tested ACK 7acf282

@YusukeShimizu YusukeShimizu merged commit 92b5d83 into master Oct 3, 2024
8 checks passed
@YusukeShimizu YusukeShimizu deleted the remove-poll-message-log branch October 3, 2024 22:47
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