Skip to content

electrum: force exit if graceful shutdown exceeds 5 seconds#154

Open
junderw wants to merge 1 commit into
mempoolfrom
junderw/fix-electrum-connection
Open

electrum: force exit if graceful shutdown exceeds 5 seconds#154
junderw wants to merge 1 commit into
mempoolfrom
junderw/fix-electrum-connection

Conversation

@junderw

@junderw junderw commented May 31, 2026

Copy link
Copy Markdown
Member

Slow or zombie TCP clients can keep peer connection threads alive, blocking the RPC drop/join on shutdown indefinitely. Replace the shutdown thread-logging loop with a watchdog that forcibly exits the process if graceful shutdown has not completed within 5 seconds.

Slow or zombie TCP clients can keep peer connection threads alive,
blocking the RPC drop/join on shutdown indefinitely. Replace the
shutdown thread-logging loop with a watchdog that forcibly exits the
process if graceful shutdown has not completed within 5 seconds.
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