Skip to content

maxWebsocketErrorRetries not working as expected #242

@mihaisdm

Description

@mihaisdm

Hello,

I was expecting to try to reconnect using WebSocket until maxWebsocketErrorRetries is reached, after try fallback mechanism.

Should be "_request.curWebsocketErrorRetries++ >_request.maxWebsocketErrorRetries? not less.
Else i do not understand the purpose.

if (_request.curWebsocketErrorRetries++ < _request.maxWebsocketErrorRetries && _request.fallbackTransport !== 'websocket') {

Thank you
Mihai

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions