Skip to content

socketTimeout overwrites connectTimeout #3032

@ekarademir

Description

@ekarademir

Description

When both options are set for sockets, socketTimeout overwrites the connect timeout..

Timeout for socket is set with connectTimeout here, then it's set again with socketTimeout here.

When preciously there was a listener for the connect event, after which the timeout is set, there is nothing now. And I believe that's the reason behind #2855

Node.js Version

v20.9.0

Redis Server Version

6

Node Redis Version

v5.6.0

Platform

MacOS

Logs

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions