Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NodeJS connectTimeout option #2710

Open
JohnGale87 opened this issue Apr 5, 2024 · 0 comments
Open

NodeJS connectTimeout option #2710

JohnGale87 opened this issue Apr 5, 2024 · 0 comments

Comments

@JohnGale87
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant