Skip to content

Prevent heartbeat disconnection when browser is blocking (alert, Flash File Browser, etc.) #472

Closed
@tommedema

Description

@tommedema

Just before a client opens a file browser that blocks the browser's thread and thus stops heartbeats from being sent out, I'd like to temporarily increase the required heartbeat interval for this specific socket to a much higher amount.

When the user then leaves the file browser, I'd like to restore the heartbeat interval.

Would it be possible to dynamically adjust the required heartbeat interval for a specific socket?

Such logic would be much better than to reconnect. This is because reconnection would force me to store the socket's state on the server-side, so one would have to differentiate between clients that disconnect willingly and those that do not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions