Skip to content

fix: channel being filled and dropping message#123

Merged
rllola merged 2 commits into
mainfrom
fix/filled-channel
Apr 28, 2026
Merged

fix: channel being filled and dropping message#123
rllola merged 2 commits into
mainfrom
fix/filled-channel

Conversation

@rllola

@rllola rllola commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

No description provided.

rllola added 2 commits April 28, 2026 18:17
The connection task was using send().await which blocks when the channel
is full, stalling the select! loop and preventing new messages from
being read off the socket. On chatty chains like Berachain this caused
the peer to disconnect idle connections. Switched to try_send so gossip
messages are dropped instead of blocking, keeping the socket alive
@rllola rllola merged commit 4100cd4 into main Apr 28, 2026
2 checks passed
@rllola rllola deleted the fix/filled-channel branch April 28, 2026 16:44
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.

1 participant