Skip to content

reconnectAttempts config ignored #989

Closed
@yevreinov

Description

@yevreinov

I'm working with version 13.1.1
Initializing manager like this:

let socketManager = SocketManager(socketURL: URL(string: connectString)!, config: [ .log(true), .compress, .reconnects(true), .reconnectWait(3), .reconnectAttempts(10), .forceNew(true) ])

reconnectAttempts is ignored, it is always -1 (keeps reconnecting always).

I believe this is caused by setConfigs method in SocketManager.swift - it is missing reconnectAttempts case completely.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions