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
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 text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: