Skip to content

NodeJS connectTimeout option #2710

@JohnGale87

Description

@JohnGale87

The documentation specifies that the node js client options accepts a timeout parameter

To set a timeout for a connection, use the `connectTimeout` option:

When I use this option in my Typescript Project, it tells me it 'connectTimeout' does not exist in type 'RedisClientOptions<RedisModules, RedisFunctions, RedisScripts>'

I'm not sure if it is the documentation or the type definitions that are incorrect.

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