Skip to content

Why cannot an asynchronous client stay alive for a long time after being disconnected? #542

Open
@DR5DWLliangyu

Description

@DR5DWLliangyu

Once I had successfully established a connection using the synchronous client and proceeded with the normal publishing and subscribing work, I disconnected the network cable from the broker. A week later, when I plugged back in and called reconnect (), I was still able to connect to the broker。
But when I do the same with an asynchronous client, I always end up with a connection failure error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions