Skip to content

fix: Avoid potential deadlock by dropping info messages#598

Merged
rustaceanrob merged 1 commit into
2140-dev:masterfrom
rustaceanrob:26-7-21-info
Jul 21, 2026
Merged

fix: Avoid potential deadlock by dropping info messages#598
rustaceanrob merged 1 commit into
2140-dev:masterfrom
rustaceanrob:26-7-21-info

Conversation

@rustaceanrob

@rustaceanrob rustaceanrob commented Jul 21, 2026

Copy link
Copy Markdown
Member

Closes #597. Before this would halt the node if the client was not polling the info channel and the number of info messages reached the channel size. It is valid for a client to leave the info channel unused, so this behavior should be changed to a best effort send.

Before this would halt the node if the client was not polling the info
channel and the number of info messages reached the channel size. It is
valid for a client to leave the info channel unused, so this behavior
should be changed to a best effort send.
@rustaceanrob
rustaceanrob merged commit faa0ca9 into 2140-dev:master Jul 21, 2026
10 checks passed
@rustaceanrob
rustaceanrob deleted the 26-7-21-info branch July 21, 2026 15:19
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.

Node::run can deadlock permanently when the Info receiver is held but not read (bounded info_tx backpressure in the single-task event loop)

1 participant