Skip to content

fix: return early in Indexer thread and listen_blocks if channel to MPC node is closed.#370

Merged
1 commit merged intomainfrom
bookrock/return-error-on-closed-channel
Apr 16, 2025
Merged

fix: return early in Indexer thread and listen_blocks if channel to MPC node is closed.#370
1 commit merged intomainfrom
bookrock/return-error-on-closed-channel

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Apr 16, 2025

The indexer thread should terminate if the channel it sends block updates to is closed, as this is an unrecoverable event.

@ghost ghost changed the title fix: Indexer thread and listen_blocks should return early if channel to MPC node is closed. fix: return early in Indexer thread and listen_blocks if channel to MPC node is closed. Apr 16, 2025
@ghost ghost marked this pull request as ready for review April 16, 2025 12:37
@ghost ghost self-assigned this Apr 16, 2025
@ghost ghost requested review from kevindeforth and robin-near April 16, 2025 12:37
@ghost ghost merged commit 9d41a03 into main Apr 16, 2025
1 check passed
@ghost ghost deleted the bookrock/return-error-on-closed-channel branch April 16, 2025 13:19
This pull request was closed.
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