Skip to content

connect with reconnectInterval creates exponential retries #26

@nvkets

Description

@nvkets

If a connection is made with the reconnectionInterval option set, an issue arises when the CasparCG service is not available:

timeout is called on 'connectionError' and on 'disconnected', creating 2 timeouts to retry reconnect.

these number of retries keep on growing, since every timeout creates 2 new timeouts.

Proposed solution: only set reconnect timeout on connectionError OR disconnect?

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions