You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 9, 2026. It is now read-only.
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.
The documentation specifies that the node js client options accepts a timeout parameter
redis-doc/docs/connect/clients/nodejs.md
Line 198 in a8b76c9
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.