Skip to content

Try to handle reconnecting infinitely #31

@dsienkiewicz

Description

@dsienkiewicz

Problem
When WebSocket disconnects, underlying WebSockex calls handle_disconnect/2 if it's defined, but seems like it's calling it infinitely. During that time any StreamingSocket fails, as underlying SessionID is dropped.

Solution
Try to recover Connection module that solves the problem of starting both Main & Streaming socket, so it will properly handle :DOWN messages when any of sockets die.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature proposition

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions