Skip to content

Switch WS connection functions to background tasks to avoid hanging#31

Open
bsantelicesm wants to merge 1 commit into
Connectlife-LLC:mainfrom
bsantelicesm:websocket_bug
Open

Switch WS connection functions to background tasks to avoid hanging#31
bsantelicesm wants to merge 1 commit into
Connectlife-LLC:mainfrom
bsantelicesm:websocket_bug

Conversation

@bsantelicesm

Copy link
Copy Markdown

Switches WebSocket connections to background tasks and adds timeouts to prevent HA hanging on startup until the startup wrap timeouts. This would hang the startup process as described in issue #28 bug 1.

Switches WebSocket connections to prevent HA hanging on startup until the startup wrap timeouts. This would hang the startup process as described in issue Connectlife-LLC#28 bug 1.
@draganczukp

Copy link
Copy Markdown

I can confirm that the fix does work. Just replaced the file, restarted HA, and now startup is just as fast as it used to be

@bsantelicesm bsantelicesm deleted the websocket_bug branch June 22, 2026 02:11
@bsantelicesm bsantelicesm restored the websocket_bug branch June 22, 2026 04:16
@bsantelicesm bsantelicesm reopened this Jun 22, 2026
@bsantelicesm

Copy link
Copy Markdown
Author

tidyup for own repo.

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